Simply magical! Thanks guys... Here's what I did....
In the main_host, I commented out
Code:
#ScriptAlias /cgi-bin/ "/path/to/main_host/cgi-bin/"
#<Directory "/path/to/cgi-bin">
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all
#</Directory>
And then I took that same code into my vhost file and did:
Code:
<VirtualHost *>
ServerName *
ServerAlias *
ScriptAlias /cgi-bin/ /path/to/main_host/cgi-bin/
<Directory /path/to/main_host/cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
And keeping the vhost directive the way it was:
Code:
<VirtualHost *>
ServerName www.my_vhost.com
ServerAlias my_vhost.com
ScriptAlias /cgi-bin/ /path/to/my_vhost/cgi-bin/
DocumentRoot /path/to/my_vhost/public_html
ErrorLog /path/to/my_vhost/logs/error_log
CustomLog /path/to/my_vhost/logs/access_log common
<Directory /path/to/my_vhost/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
</Directory>
</VirtualHost>
And now it seems to be responding to both the main_host cgi scripts as well as vhost's own! Thank you guys!
