Subject: Re: mod_perl: interfering with mod_cgi
To: Todd Vierling <tv@pobox.com>
From: Dave Millen <webmaster@largesalad.co.uk>
List: tech-pkg
Date: 12/04/1998 22:06:13
Todd Vierling wrote:

> However it is interfering with existing CGI scripts in a way I do not yet
> understand.  Existing CGI makes the server fail with a "Premature end of
> script headers" error - only when mod_perl is enabled.

Ah, that might explain why what was a working 1.3.2 system has become a 1.3.3
system that won't handle perl scripts. :) Fortunately, it's only the one that's
used for development.

I supped the latest pkgsrc today (2pm UK), built and installed and now I get the
above error when trying to access scripts. Below are a couple of lines from the
relevant error_log and access_log:

access_log:
oak.largesalad.co.uk - - [04/Dec/1998:21:20:22 +0000] "GET /tp.html HTTP/1.0"
200 331
oak.largesalad.co.uk - - [04/Dec/1998:21:20:29 +0000] "POST /cgi-bin/perldb.cgi
HTTP/1.0" 500 625

error_log:
[Fri Dec  4 21:20:29 1998] [error] (13)Permission denied: exec of
/var/www/docs/www.largesalad.co.uk/cgi-bin/perldb.cgi failed
[Fri Dec  4 21:20:29 1998] [error] [client 192.168.0.1] Premature end of script
headers: /var/www/docs/www.largesalad.co.uk/cgi-bin/perldb.cgi

Will disabling mod_perl cure this?

regards,
Dave
--
Make it idiot-proof and someone will make a better idiot!

e-mail: webmaster@largesalad.co.uk
net: http://www.largesalad.co.uk/DJMsoft/