http://www.perlmonks.org?node_id=1010420


in reply to CGI Script Working fine from my command prompt but Shows Internal server error when called through browser

Ahhh... someone programming in the Morgan Stanley environment!! I recognize that pattern! :-)

Any time you get a 500 error from a web server it means that the CGI environment encountered something it could not deal with ranging from straight up Perl syntax errors or other failures to compile to file permissions. Your best bet is to check the server error logs and see what it is really complaining about.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
  • Comment on Re: CGI Script Working fine from my command prompt but Shows Internal server error when called through browser
  • Download Code