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

donniem

TS Rookie
My link to this particular website worked fine and everything was working like expected. One particular day I tried to access the same site and I received this message? You don't have permission to access /on this server.
What caused the error, and more importantly what can I do to restore access to that site?
 

lvlpost

TS Rookie
You need to update your apache http.conf file so you can access the directories that serve your pages.

<Directory "c:/wamp/www">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
 

jobeard

TS Ambassador
You need to update your apache http.conf file so you can access the directories that serve your pages.

<Directory "c:/wamp/www">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Yes, that's what to do IF HE OWNS the server - - never clear that he does :sigh:
 

jobeard

TS Ambassador
You need to update your apache http.conf file so you can access the directories that serve your pages.

<Directory "c:/wamp/www">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
On a real Linux based server it would be more like
<Directory />
AllowOverride none
Require all denied
</Directory>

<Directory "${SRVROOT}/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>​