Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 imbibing at the Monastery: (4)
As of 2014-09-20 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (152 votes), past polls