[H-GEN] CGI internal server error

James McPherson jmcphers at laurel.ocs.mq.edu.au
Thu Oct 15 22:52:58 EDT 1998


Luke Grant writes:
 >    So i have written this CGI in Perl(it wasn't my language choice ok so
 > no flames about using perl as an excuse for not doing string
 > manipulation.) 

it's the best language there is, don't knock it ;)

 > Anyway, when it is being called by the browser i am getting
 > an "Internal Server Error". Generaly i have found that this problem means
 > i have an error in my code but when i run  $ perl -w userlist.cgi the
 > output is exactly what it should be. I also checked the access.conf file
 > for httpd to see that ExecCGI was set for that directory.

who owns the script? is it runnable by whichever login is running the httpd
process (such as nobody:nobody)? if not, then that's a good thing to check
first - chmod 0755 is probably what you're looking for.


cheers,
James C. McPherson
--
Unix Systems Administrator            Phone: +61.2.9850.9418
Office of Computing Services            Fax: +61.2.9850.7433
Macquarie University   NSW    2109 
AUSTRALIA          




More information about the General mailing list