Apache报错You don't have permission to access on this server

解决方法:

打开httpd.conf文件

<Directory />

AllowOverride none

Require all denied

</Directory>

修改成:

<Directory />

Options FollowSymLinks

AllowOverride None

Order deny,allow

Allow from all

Satisfy all

</Directory>

<Directory "e:/wamp/www/">

Options Indexes FollowSymLinks

AllowOverride all

Require local

</Directory>

 

然后把:

<Directory "e:/wamp/www/">

Options Indexes FollowSymLinks

AllowOverride all

Require local

</Directory>

改成:

<Directory "e:/wamp/www/">

Options Indexes FollowSymLinks

AllowOverride all

Order Deny,Allow

Allow from all

</Directory>

重启apache服务就可以了

posted @ 2017-05-09 10:50  PengYunjing  阅读(317)  评论(0编辑  收藏  举报