httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark rostron <mrost...@real.com>
Subject Re: ~user/cgi_bin script config problem - THANKS!
Date Mon, 04 Feb 2002 21:11:03 GMT
Thanks for your help on this.
Looked into the suexec.log and found that the cgi-bin directory and any cgi 
files in it were failing because they were 777 permissions, which the server 
did not allow.

On Friday 01 February 2002 17:38, Joshua Slive wrote:
> > From: mark rostron [mailto:mrostron@real.com]
> >
> > yeah - changed my mind about the attachments.
> > Anyway, I checked the script and it appears to be working from
> > command-line
> > and also if I copy the test script into /usr/local/httpd/cgi-bin
> > (ScriptAlias
> > definition).
> > There is something in the way I'm configuring the public-html/cgi-bin
> > directory.
> > Below is the text of the stanza defining configuration for public_html:
>
> How come everybody is only reading half my posts today?  If it works in the
> main cgi-bin, but you get "premature end of script headers" elsewhere, then
> the most likely answer is suexec.  Check to see if you are using it, and
> check the contents of the suexec log file.
>
> The fact that you get "premature end of script headers" means that the
> apache configuration is fine: it is trying to launch your cgi script.  The
> lanuch is failing, either because there is something wrong with the script,
> or an intermediary (suexec) is failing.
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 
as you were ...
rostron out

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message