Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: 500 Internal Server Error defies debugging

by ajt (Prior)
on Sep 11, 2002 at 11:03 UTC ( #196910=note: print w/ replies, xml ) Need Help??


in reply to 500 Internal Server Error defies debugging

Anon,

What happens when you run the script from the command line?

The shebang line is for windows, which web server are you running? IIS, Apache or another? IIS needs messing with to get taint working (Taint with Perl on NT/IIS), and doesn't have very useful script/error logging.

Assuming you have good error logs, and you can read them, what do they say?

Why are messing with $ENV, CGI.pm is normally the best way to go for parsing CGI input and generating basic HTTP/HTML output. It has been standard with perl for quite a while, it's well regarded, and well tested. See the famous use CGI or die;.


--
ajt


Comment on Re: 500 Internal Server Error defies debugging

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-07-31 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls