Hi all,
I have the following setup for a domain using Vhosts:
<VirtualHost 65.39.131.101>
User caspringlo
Group users
ServerName springloaded.ca
ServerPath /springloaded.ca
Setenv VLOG /home/caspringlo/logs
DocumentRoot /home/caspringlo/public_html
#RewriteEngine Off
#RewriteOptions inherit
</VirtualHost>
This works well. Now, I tried adding the following:
<VirtualHost 65.39.131.101>
User caspringlo
Group users
ServerName internalweb.springloaded.ca
ServerPath /internalweb.springloaded.ca
Setenv VLOG /home/caspringlo/logs
DocumentRoot /home/caspringlo/public_html/internalweb
#RewriteEngine Off
#RewriteOptions inherit
</VirtualHost>
But when I try to go to internalweb.springloaded.ca, I get a Forbidden
error. Why?
When I try setting DocumentRoot for internalweb.springloaded.ca to the
same as that of springloaded.ca, it works and both domains load the same
page (as they should).
Thanks,
Max
>> Stay informed about: Vhost and subdomains