A few months back I created some virtual hosts that worked just great, however now I have gone back and tried to add a couple more and I can't get them to work. It seems like I'm just forgetting a setting somewhere, but I can't seem to figure out what it would be from the docs.
The 2 hosts listed below that work are "prairie" and "bell"
Some things I've tried:
httpd.exe -S -w --- Recognizes all 4 of them as virtual hosts
Switching the DocumentRoot of a working VirtualHost to the brav DocumentRoot works correctly (so my folder structure and permissions must be okay)
Clearing my browser cache doesn't seem to make a difference
Is there maybe another place besides httpd-vhosts.conf where I need to define my virtual host name?
If anyone knowledgeable could lend a hand I'd greatly appreciate it.
- Code: Select all
<Directory "C:/bell">
Order Deny,Allow
Allow from all
</Directory>
<Directory "C:/Brav">
Order Deny,Allow
Allow from all
</Directory>
<Directory "C:/Prairie">
Order Deny,Allow
Allow from all
</Directory>
<Directory "C:/p">
Order Deny,Allow
Allow from all
</Directory>
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/apache/htdocs
ServerName localhost
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/bell
ServerName bell
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/Brav
ServerName brav
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/Prairie
ServerName prairie
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/p
ServerName p
</VirtualHost>