http://qs1969.pair.com?node_id=444635


in reply to Internal Server Error

There should at least be a hint in the webserver error logs. Try checking there and report back on any findings.

Another possibility is to directly route any STDERR output to STDOUT thus allowing a glimpse of what might be causing the error.

It might also help to know what OS/Webserver/Perl combo you are running.
--------------
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."

Replies are listed 'Best First'.
Re^2: Internal Server Error
by jhourcle (Prior) on Apr 05, 2005 at 01:28 UTC

    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.