
: Can't Get a Virtual Host to Work I can't get a specific virtual host to work. This is the first part of my httpd-vhosts.conf file: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot
I can't get a specific virtual host to work. This is the first part of my httpd-vhosts.conf file:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/Volumes/Data RAID/htdocs/Symfony/web"
ServerName framework.loc
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Volumes/Data RAID/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Volumes/Data RAID/htdocs/AmColAn"
ServerName amcolan.loc
</VirtualHost>
It's the first one that fails. The others work fine.
I can get to index.php using:
localhost/symfony/web/index.php
I can't get to it using:
framework.loc/index.php
I get redirected to OpenDNS, which I use as my DNS, with the error that it is not loading. This is on OS X 10.8.2. I restart apache every time I change the config. I must be making some sort of bonehead error.
More posts by @Karen161
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.