Gossamer Forum
Home : General : Perl Programming :

Server Error Logs

Quote Reply
Server Error Logs
Hello,

Occasionally I get the following error messages in my server logs. They do not happen all the time, only occasionally. Any ideas?

"invalid CGI ref "./cgi-bin/ads.cgi" in /web/guide/mav/phil/reference.shtml

Should I replace the "./cgi-bin/ part with "/phil/cgi-bin/"?


Recursive include of "./cgi-bin/hints.cgi" in parsed file /web/guide/mav/phil/reference.shtml

Could this error be from the fact that the reference.shtml page was in the text output by the hints.cgi script? Or have I messed up and included the url of the hints script in the data file?

In both cases the scripts are Matt's random text from http://worldwidemart.com/scripts/

Thanks


------------------
Quote Reply
Re: Server Error Logs In reply to
 
Quote:
Should I replace the "./cgi-bin/ part with "/phil/cgi-bin/"?

I think it should be "/cgi-bin/" not "./cgi-bin".

The "./" says to find it in the current directory, which wouldn't be right. The "/" says to look from the root web directory. The cgi-bin directory is aliased off the root web directory.

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/