Mailing List Archive

embperl with stack handlers ?
Hi,

I had develop a mod_perl module , for make checking before call to embperl ,

I put :

<Files *.wpl>
SetHandler perl-script
PerlHandler checkdevice HTML::Embperl
Options ExecCGI
</files>

If checkdevice don't go to next handler(EmbPerl) all work ( generate output and DONE)

But if EmbPerl execute then the ouput is generate but with a extra header ...

------------------------- ******************** -----------------------
Date: Wed, 02 Aug 2000 21:58:00 GMT
Server: Apache/1.3.9 (Unix) (Red Hat/Linux) mod_perl/1.22 PHP/3.0.14
Content-Length: 734
Connection: close
Content-Type: text/vnd.wap.wml


<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
......
</wml>


HTTP/1.1 200 OK
Date: Wed, 02 Aug 2000 21:58:00 GMT
Server: Apache/1.3.9 (Unix) (Red Hat/Linux) mod_perl/1.22 PHP/3.0.14
Allow: GET, HEAD, OPTIONS, TRACE
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>200 OK</TITLE>
</HEAD><BODY>
<H1>OK</H1>
The requested method POST is not allowed for the URL /wapcity/i.wpl.<P>
</BODY></HTML>

----------------- ******************* ------------------------------------

which is the correct method for handle this ?

than in advance ....

http://www.chilewap.cl/"]