in reply to Re: exec format error with CGI program
in thread exec format error with CGI program

If it's the same as any other ISP, then they'll very likely be running any scripts within the cgi-bin directory using suEXEC. This means that the script needs to have 755 permissions set. Any other combination will cause it to fail. See this link for more details of my ISP.....
  • Comment on Re^2: exec format error with CGI program

Replies are listed 'Best First'.
Re^3: exec format error with CGI program
by davorg (Chancellor) on Jul 04, 2006 at 14:22 UTC

    Firstly, we don't know that there's an ISP involved at all. This sounds like a standard Apache installation which could be on the original poster's own Linux server (for example). The default Apache installation doesn't use suexec. So why complicate things unnecessarily.

    Secondly, the problem (and the solution) had absolutely nothing to do with programs or permissions. It was simply that the original poster had a static HTML file in his cgi-bin directory.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg