I'm running mac osx 10.8.
when I go to localhost or 127.0.0.1/ my browser says: "It Works!".
However when I go to localhost/~admin/ or 127.0.0.1/~admin/ my browser says:
You don't have permission to access /~admin/ on this server."
How do I change this?!??!?! It's driving me nuts!
This is my /etc/apache2/users/admin.conf:
<Directory "/Users/admin/Sites/"> Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
I created aliases in my .bash_profile file so that I can start, restart and stop Apache quickly:
alias startApache="sudo apachectl start" alias stopApache="sudo apachectl stop" alias restartApache="sudo apachectl restart"
In my /etc/apache2/httpd.conf file I turned on php5:
LoadModule php5_module libexec/apache2/libphp5.so
I also made sure to change the permissions for my admin.conf file with this command in terminal:
sudo chmod 644 username.conf