Apache- Forbidden Access 403
I have Macbook Pro with OSX 10.8.2.
I am trying to get the Apache2 server running. I did necessary steps and for http//localhost it gives me a successful message saying "It works!"
Problem happens when I try to get it work for localhost/~username. I get
"You don't have permission to access /~hrishikeshrajpathak on this server."
I explored this problem and came across many posts where people have faced the same issue and it got resolved by adding username.conf file in /etc/apache2/users with following contents:
<Directory "/Users/USERNAME/Sites/">
Options Indexes Multiviews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Here I replaced USERNAME by my own user name. I also set the chmod properties. Even after doing all this, I still get the same forbidden error.
Any pointers where I should be looking for a solution?
Thanks!
MacBook Pro, OS X Mountain Lion (10.8.2)