httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artiom Morozov <art...@phreaker.net>
Subject Re: Apache 2.0, CGI, and error 500
Date Sun, 17 Mar 2002 11:31:17 GMT
Ok, you're at the final stage - set LogLevel to debug and enable
ScriptLog (beware of permissions for scriptlog! =). There then will
your answer be (excuse my english ;-)

On 2002.03.17 13:17 Mike Price wrote:
> I checked httpd -l and it's using mod_cgi.
> 
> --- Artiom Morozov <artiom@phreaker.net> wrote:
> > probably you compiled mod_cgid instead of mod_cgi
> >
> > îÁ 2002.03.17 12:57 Mike Price ÎÁÐÉÓÁÌ:
> > > I am unable to get CGI programs to work under
> > > Apache 2.0.32. All of these programs work under
> > > Apache 1.3.23. Under 2.0.32 they all produce error
> > > "500 Premature end of script headers". The
> > ScriptLog
> > > output shows nothing following the %response line
> > -
> > > the scripts produce no output at all. An "ls -lu"
> > > shows
> > > that the script files are NOT being accessed. The
> > > error log shows the correct file name for the
> > script -
> > > it's as though Apache cannot execute the file.
> > > Permissions are 755 on the scripts and 711 on the
> > > directory. User/group is consistent on both and
> > > different from the server user/group. ScriptAlias
> > > points to the directory.


---------------------------------------------------------------------
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