in reply to 500 Error and Carp wont help?

First three things to check are always:

  • Does it have the right line-endings for the httpd server? (dos2unix or perl -pie 's/\x0D//g')
  • Does it have the right mode or permissions to be run by the httpd server's cgi (chmod a+x or su nobody -c)
  • Does the bare minimum script work? Insert the following at the top of the script, immediately after the shebang.
  • print "Content-type: text/plain\n\n"; # two newlines print "It works!\n";

    --
    [ e d @ h a l l e y . c c ]

    Replies are listed 'Best First'.
    Re: Re: 500 Error and Carp wont help?
    by mojo_the_helper (Novice) on May 19, 2003 at 15:54 UTC
      Thanks for the feed back, in response to you statements,
      yes it does, thanks for giving me that way to check it though
      yes it does, but never hurts to look into to, and I did
      no it doesn't the lines, any thoughts?