PDA

View Full Version : cgi problems


laram
06-13-2002, 08:57 AM
Hello all...

I just updated to OS 10.1.5 and now things seem to be out of whack when I use an include in an shtml file that is supposed to execute a bit of code in my CGI bin. It used to work fine but now I get '[an error occurred while processing this directive]'.

I checked my httpd.conf file and it seems unchanged. My script is still in the bin. Would any one know why this might be happening?

Thanks.

Jadey
06-14-2002, 11:37 PM
Your error log probably knows ;) Try to access it again, then type this in a terminal:

tail /var/log/httpd/error_log

and let me know what it says. I've found with SSI, it points right to the problem. Let's hope it does in this case too.

laram
08-01-2002, 10:10 AM
Thanks, Jadey!

First of all, sorry it took so long to reply. Your suggestion was right on target. I was able to fix the problem thanks to you but plumb forgot to let you know and thank you.

According to the log, the permission on my cgi scripts had been re-set so that they could not be executed. Once I fixed the permissions, all was well.

Thanks again!

Jadey
08-10-2002, 09:11 AM
Great! I'm glad to hear that all is working well. :)