Hi there...
A short time back, I migrated from RH7.2 to 9.0 and upgraded to Apache 2 from the 1.3 series. Ever since the upgrade I have been unable to configure apache to allow users their own cgi-bin.
The user web space works fine, a few users are running web sites without any issues, this is strictly a cgi-bin issue.
Any cgi moved to any user cgi-bin fails to run with the following error logged:
Quote:
[Sun Oct 19 11:56:10 2003] [error] [client *.*.*.*] Premature end of script headers: testme.cgi
|
(I edited out the IP for this post, thats not in the log like that)
Now... I can take the same *.cgi and mv it to the server's cgi-bin and it works fine.
To rule out permission issues, I chmod'd to 777
the owner of the bin is the user and the group is the httpd group
here are the applicable entries in the config:
Quote:
<IfModule mod_userdir.c>
UserDir WWW
UserDir disabled root
</IfModule>
<Directory /home/*/WWW>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order allow,deny
Allow from all
</LimitExcept>
</Directory>
<Directory /home/*/WWW/cgi-bin>
Options ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>
|
I've been banging my head against the wall with this for a couple days now, if anyone has any suggestions it would be greatly appreciated.
Thanks
Verbal