I've installed XAMPP in Mountain Lion and I'm trying to get mysite.local aliased to localhost/~user/mysite.
In /etc/apache2/extra/httpd-vhosts.conf I have:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/user/Sites/mysite"
ServerName mysite.local
ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log"
CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common
</VirtualHost>
and in /etc/hosts I have:
127.0.0.1 localhost mysite.local
When I go to http://mysite.local it only shows me the XAMPP start page.
What to do?