Tom Allen wrote:
> ...
> <Location /modperl>
>    AllowOverride None
>    Options ExecCGI Indexes
>    SetHandler perl-script
>    PerlHandler Apache::Registry
>    PerlSendHeader Off
> </Location>
> 
> It appears to work ( I get a webpage that says Hello!), in a Mozilla
> browser, but httperf shows a connection reset instead of a success
> message, the same goes for lynx (Alert!: Unexpected network read error;
> connection aborted.).  The ScriptAlias version works fine.  The two
> scripts can be seen online at
> 
> Regular CGI version : http://www.nonserviam.net/perl/index.pl
> ModPerl version: http://www.nonserviam.net/modperl/index.pl
> 

When I test it, I get a 404 Not Found, which could explain
it.  But even when it is found, you might try setting
PerlSendHeader On, as it may not send a header otherwise.
Or you could try explicitly calling Apache->send_http_header
in your mod_perl version.

--Josh

]# lwp-request -eS http://www.nonserviam.net/modperl/index.pl
GET http://www.nonserviam.net/modperl/index.pl --> 404 Not Found
Connection: close
Date: Sat, 25 Aug 2001 23:58:43 GMT
Server: Apache/1.3.20 (Unix) mod_perl/1.26 PHP/4.0.6
Content-Type: text/html
Client-Date: Sun, 26 Aug 2001 00:00:09 GMT
Client-Peer: 65.34.152.103:80
Title: NonServiam!
X-Powered-By: PHP/4.0.6

<HTML>
<HEAD><TITLE>An Error Occurred</TITLE></HEAD>
<BODY>
<H1>An Error Occurred</h1>
404 Not Found
</BODY>
</HTML>

Reply via email to