So, I'm migrating a site from my test-server (Powerbook running
Apache/Darwin BSD) to my web host and all my CGI scripts are giving me
that error. The header error is also the only error that's showing up
in the error_log.
I've checked all the usual suspects:
file permissions (775)
syntax (perl -Tc is clean)
malformed headers (using CGI.pm->header(), so not likely)
script runs fine from command line on web server (which I believe rules
out binary transfer and carraige returns)
The site is on a managed server which has an automated setup process,
so its highly unlikely that this is a bad ScriptAlias directive.
HOW TO POST to comp.infosystems.www.authoring.cgi:
> The site is on a managed server which has an automated setup process,
One thought: If suEXEC is enabled, the group must not have write access.
Have you tried permissions 755?
And in the suexec log?
> file permissions (775)
Too permissive. A security-minded server will refuse to run it.
Also check other 'usual suspects' such as SELinux.
Application Development with Apache - the Apache Modules Book
I recently saw a similar problem, where the server was refusing to run a
script because the DIRECTORY it was in was world-writeable (how the
directory became world writable is another question....).