Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'This post is compatible with IP:PORT Vhosts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This post is compatible with IP:PORT Vhosts
Authored by: faunzy on Dec 22, '08 05:17:33PM
This works in conjunction with IP address and port number style virtual hosts:

<VirtualHost *:80>
ServerName virtual-host1.local.dev
DocumentRoot /Library/WebServer/Documents/virtual-host1/
<Directory /Library/WebServer/Documents/virtual-host1/>
...
</Directory>
</VirtualHost>

It should also be noted that each host address needs an additional entry into the hosts file, but they can all be on one line, like so :
127.0.0.1 virtual-host1.local.dev virtual-host2.local.dev virtual-host3.local.dev


[ Reply to This | # ]