Subject: Re: mod_perl: interfering with mod_cgi
To: Todd Vierling <>
From: Dave Millen <>
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: - - [04/Dec/1998:21:20:22 +0000] "GET /tp.html HTTP/1.0"
200 331 - - [04/Dec/1998:21:20:29 +0000] "POST /cgi-bin/perldb.cgi
HTTP/1.0" 500 625

[Fri Dec  4 21:20:29 1998] [error] (13)Permission denied: exec of
/var/www/docs/ failed
[Fri Dec  4 21:20:29 1998] [error] [client] Premature end of script
headers: /var/www/docs/

Will disabling mod_perl cure this?

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