Apache You don't have permission to access / on this server等问题的解决.

Apache You don't have permission to access / on this server的问题的解决.

 

<VirtualHost 127.0.0.3:80>
ServerName www.test1.com
DocumentRoot "D:\phpStudy\WWW\WSCyclopedia\public"
<Directory "D:\phpStudy\WWW\WSCyclopedia\public">
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
satisfy all
</Directory>
</VirtualHost>

 

修改成 

<VirtualHost 127.0.0.3:80>
ServerName www.test1.com
DocumentRoot "D:\phpStudy\WWW\WSCyclopedia\public"
<Directory "D:\phpStudy\WWW\WSCyclopedia\public">
Options FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
allow from all
satisfy all
</Directory>
</VirtualHost>

posted @ 2017-01-12 14:42  Au_ww  阅读(120)  评论(0编辑  收藏  举报