when I try to do that.
I came up with an issue like
Forbidden
You don't have permission to access / on this server.
Apache/2.2.9 (Ubuntu) Server at localhost Port 80
But after going through some internet research, I came to know that the document Root doesnt have permissions according to the apache configuration.
So I changed the file "/etc/apache2/sites-available/default"
As like
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Which gave me the access to the public as well as able to run the server
after changing this you just need to do
/etc/init.d/apache2 restart
No comments:
Post a Comment