Hi all,
This can''t be that difficult.
I have a Virtual Host or two that want to have their own /cgi-bin/
ScriptAliased directory in their home directory. I have tried several
things but to no avail. Any ideas? Anyone else doing this?
Here is what I get in the virtual host''s error log:
[Wed Feb 10 01:35:29 1999] [error] (13)Permission denied: exec of
/home/httpd/cgi-bin/guestbook.cgi failed
Here is the virtualhost section for one of the domains in the
httpd.conf
file:
<VirtualHost www.aquaverde.com>
#Alias /cgi-b1n/ /home/rajeesh/aquaverde/cgi-bin/
ScriptAlias /cgi-b1n/ /home/rajeesh/aquaverde/cgi-bin/
ServerAdmin webmaster@aquaverde.com
DocumentRoot /home/rajeesh/aquaverde
ServerName WWW.Aquaverde.COM
ErrorLog logs/aquaverde.com-error_log
TransferLog logs/aquaverde.com-access_log
</VirtualHost>
I also tried commenting out the ScriptAlias defined in the srm.conf
file for the master domain, and this does allow it to look in the
correct directory, but still gives the permission denied error.
I have also tried adding the directory to to the srm.conf file like:
ScriptAlias /aquaverde-cgi-bin/ /home/rajeesh/aquaverde/cgi-bin/
but this does not work, really, and is in my domain, not the
virtualhost''s.
The directory is chmod 755, owned by user and same for the group.
In my access.conf I have these set:
<Directory /home/rajeesh/aquaverde/cgi-bin>
AllowOverride All
Options All
</Directory>
TIA,
Chris
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-secure-server-request@redhat.com with
"unsubscribe" as the Subject.