Results 1 to 3 of 3
Thread: Virtual Host 403 error
Jun 19, 2013, 09:14 #1
Virtual Host 403 error
I've never done my development locally for CMS sites, and I'm attempting to rectify that. I'm running OSX Mountain Lion. I've started Apache, and everything works fine with accessing localhost. But I'd like to set up Virtual Hosts so I can keep local sites in their own folders, and that's where I run into trouble. I've uncommented the VH line in httpd.conf, and based on tutorials, I've added the following to https-vhosts.conf:
<VirtualHost *:80> DocumentRoot "/Library/WebServer/Documents" </VirtualHost> <VirtualHost *:80> DocumentRoot "/Users/Todd/Sites/drupaldev/dons.com" ServerName dons.local ErrorLog "/private/var/log/apache2/dons.local-error_log" CustomLog "/private/var/log/apache2/dons.local-access_log" common <Directory "/Users/Todd/Sites/drupaldev/dons.com"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
NOTE: Possibly important, I'm booting from a small SSD, which contains System files and Applications, but my user folder is on a different hard drive.