![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Internal Server Errorby jhourcle (Prior) |
on Apr 05, 2005 at 01:28 UTC ( #444835=note: print w/replies, xml ) | Need Help?? |
Sending any output to STDOUT without sending valid headers will cause an 'Internal Server Error'. If you want to try to gain access to what's going wrong, try making sure the first thing you do is: BEGIN { print "Content-type: text/html\n\n"; }But definately check the websever logs. And knowing the platform is useful, too. Personally, I'm lazy, and like using CGIwrap for debugging my CGIs.
In Section
Seekers of Perl Wisdom
|
|