Thursday, May 2, 2013

Forbidden You don't have permission to access / on this server







I got this issue on Mac Lion OS X.
to fix this issue, just simple step.. here we go

Oper your terminal and type:
sudo nano /etc/apache2/extra/httpd-vhosts.conf 
add these line of codes:
< VirtualHost *:80>
   DocumentRoot "/Library/WebServer/Documents"
< /VirtualHost>
Restart your apache
sudo apachectl restart

No comments:

Post a Comment