httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kitch, David" <>
Subject RE: [users@httpd] cgi-bin under UserDir
Date Thu, 17 Jul 2003 18:17:37 GMT
On Thu, 17 Jul 2003, Kitch, David wrote:

> On Thu, 17 Jul 2003, Kitch, David wrote:
> David> I'm getting "Premature end of script headers" on cgi files
> users'
> Joshua> 1. Are you running suexec?  Have you checked the suexec log?
> Joshua> 2. Does the script work from the command line (ie cd
> Joshua> /home/user/public_html/cgi-bin; ./script.cgi)
> I'm not running suexec.  The scripts work from the command line and
> cgi-bin inside of vhosts.

Joshua> If the cgi scripts work from a central cgi-bin, but not from
Joshua> directories, the problem is almost always suexec.  Try "httpd
-V", look
Joshua> for the location of SUEXEC_BIN, and see if there is an suexec
Joshua> there.  If so, remove it.

Thanks for the tip Joshua.  I may have to create a separate
installation, as I'm sharing this one with other instances which may
need to use suexec (the loadmodule line for suexec is commented out of
this configuration).


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message