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>