You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/11/10 05:58:26 UTC

Re: suexec and ~user CGI scripts failing

> 
> Hmm, CGI scripts in /~user/ directories are failing when using suexec
> functionality, with the current snapshot.  
> 
> [Sat Nov  9 20:44:35 1996] access to /export/home/brian/public_html/printenv.cgi failed for h136.n136.organic.com, reason: Premature end of script headers
> 
> CGI scripts under the regular docroot are working fine however. Or, are there
> other conditions which would cause the above which I'm not aware of, which the
> suexec functionality checks for?  User "brian" can execute that script, of
> course.  The mode of that script is 0755.  I believe suexec is installed
> correctly (at least it gave the proper notice "Configuring Apache for use with
> suexec wrapper." at startup).  What else could be wrong?
> 
> 	Brian

Do the directory owner and group match the script?