I have set-up about 5 virtualhosts. The first uses the default cgi-bin directory set in httpd.conf (/usr/local/apache/cgi-bin). The other vhosts are set to use cgi directories as subdir's of their documentroots.
Here is the example:
<VirtualHost 63.64.69.293>
ServerName ServerAlias *.mydomain.com
DocumentRoot /home/httpd/mydomain
ScriptAlias /cgi-bin/ "/home/httpd/mydomain/cgi"
</VirtualHost>
I have been trying to setup scripts in these vhost cgi folders and everytime I try to access the files such as a guestbook, I get a forbidden error. When I try that same file in the default apache cgi-bin, It works perfectly.
What could I be missing?
cgi folders are set to default perm (755). Files are set to default perms (755).
Thanks In Advance!
Rninja
Here is the example:
<VirtualHost 63.64.69.293>
ServerName ServerAlias *.mydomain.com
DocumentRoot /home/httpd/mydomain
ScriptAlias /cgi-bin/ "/home/httpd/mydomain/cgi"
</VirtualHost>
I have been trying to setup scripts in these vhost cgi folders and everytime I try to access the files such as a guestbook, I get a forbidden error. When I try that same file in the default apache cgi-bin, It works perfectly.
What could I be missing?
cgi folders are set to default perm (755). Files are set to default perms (755).
Thanks In Advance!
Rninja