Results 1 to 3 of 3
Thread: Virtual Host 403 error
Jun 19, 2013, 08: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.
Jun 19, 2013, 12:26 #2
OK, never mind, I think I've determined that the problem is definitely due to the way I have the OS installed, and probably solvable with some path stuff, but I can't figure it out. I've got enough room on the SSD for this, so I just set up a VH environment there, and I seem to be off and running!
Jun 23, 2013, 10:09 #3
- Join Date
- Dec 2010
- 0 Post(s)
- 0 Thread(s)
what does your error log say /private/var/log/apache2/dons.local-error_log sometimes you can get more information form that.