I set up the vhosts last week, it works for a while but then it stops.
I am using Snow Leopard 10.6. I login as root.
hosts:
httpd.conf
httpd-vhosts.conf:
Any ideas?
I am using Snow Leopard 10.6. I login as root.
hosts:
Code:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 geryit
httpd.conf
Code:
DocumentRoot "/_sites"
<Directory "/_sites">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
httpd-vhosts.conf:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/_sites"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerName "geryit"
DocumentRoot "/_sites/geryit.com"
</VirtualHost>
Any ideas?