|No such thing as a small change|
Re: 500 Internal Server Error defies debuggingby ajt (Prior)
|on Sep 11, 2002 at 11:03 UTC||Need Help??|
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;.