Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2023-03-24 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?