Knowledgebase: Running CGIs, Perl
Error 500
Posted by Administrator on 20 September 2005 09:17 PM
QUESTION
------------------------------------------------------
i got Internal server error [500] when i ran my cgi script



ANSWER
------------------------------------------------------
Internal server error [500] caused by many things:

- wrong perl path in the first line in .pl or .cgi file
it always should be /usr/bin/perl
- cgi script uploaded in binary mode
should be ubloaded in ascii mode
- error in some script's configurations .. like wrong sendmail path
( sendmail path is /usr/sbin/sendmail )
- syntax error in cgi code ..
(502 vote(s))
Helpful
Not helpful