httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <...@bourse.ch>
Subject Re: Change in CGI config for 2.0.x? @@!$!@$!#$
Date Thu, 04 Apr 2002 09:43:59 GMT
Brian Capouch wrote:
> 
> Owen Boyle wrote:
> >
> >
> > Now you should trap the error messages from the CGI in this file and
> > this will hopefully let you see what's going wrong.
> >
> > Given that the scripts work with another version of apache, could be a
> > problem with the CGI.pm module.
> >
> 
> That I've already done, too, and the problem is not just the stock
> scripts that use Perl; the ones shebanging /bin/sh work just as well
> from the command line, and give the same (null) results when run. . .
> 
> %% [Tue Apr 02 01:29:01 2002] GET /cgi-bin/test-cgi HTTP/1.0
> %% 500 /usr/local/apache2/cgi-bin/test-cgi
> %request
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
> */*
> Accept-Charset: iso-8859-1,*,utf-8
> Accept-Encoding: gzip
> Accept-Language: en
> Connection: Keep-Alive
> Host: splurge.palaver.net
> User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.19-pre4 i686)
> %response
> 
> And that's it.  The next line of the file is the next time I attempt to
> access the script, exactly like that set, over and over and over again.

Not sure this will tell you much, but you could run apache in singel
user mode under truss and see what happen when it hits a CGI.., eg.

$ /usr/bin/truss /usr/local/apache/bin/httpd -X

Rgds,

Owen Boyle.

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