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:
CustomLog "/private/var/log/apache2/dons.local-access_log" common
Allow from all
I've also added "127.0.0.1 dons.local" to my hosts file. But trying to access dons.local leads to a 403 Forbidden error. I've done chmod 755 on the folder, but to no avail. Any ideas?
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.
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!
what does your error log say /private/var/log/apache2/dons.local-error_log sometimes you can get more information form that.
This topic is now closed. New replies are no longer allowed.