|
I'm also using "NameVirtualHost *" without problems; I'm hosting a couple of real web sites on my Cube, connecting via an Airport base to internet.
One additional thing: Since Apple updates often overwrites http.conf, add
Include /private/etc/httpd/virtual.conf
at the bottom of httd.conf and add all virtual host settings in this file like this:
NameVirtualHost *
<VirtualHost *>
ServerName "www.wigzell.net"
DocumentRoot "/Library/WebServer/Documents"
</VirtualHost>
<VirtualHost *>
ServerName "www.wigzell.se"
DocumentRoot "/Library/WebServer/wigzell.se"
</VirtualHost>
Using this, you only have to re-add the first line after a system update
|