in reply to CGI Header problem/question

Had this exact same problem myself the otherday, was an exact copy of working code, and it ended up being #1 in my list of things to check.

1) Check permissions, of the file AND the folder (read: check suexec.log too)
2) Doublecheck you can exec cgi's in that folder
3) Triplecheck the shebang.

Replies are listed 'Best First'.
Re: Re: CGI Header problem/question
by Nkuvu (Priest) on Dec 20, 2003 at 17:45 UTC

    OK, file this whole thing under "Oh My Dog I'm missing the obvious".

    Shebang? What shebang? I was running the script from the command line via perl mail_it.cgi.

    And of course once I add a shebang it works fine. Doh! Thanks.