Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Internal Server Error

by RazorbladeBidet (Friar)
on Apr 04, 2005 at 11:54 UTC ( #444635=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://444635]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-10-27 17:58 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (257 votes). Check out past polls.