在新安装的谷歌游览器里,打不了PHP网站了,错误显示:
Forbidden
You don't have permission to access / on this server.
原因还是配置权限问题
解决办法:
wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf 文件里,找到对应网站的虚拟机,添加或者修改如下(绿色行10-15行)
Listen 8023
<VirtualHost *:8023>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "E:\wamp\www\xxxxx"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common <Directory "E:\wamp\www\JFoffice\JFoffice">
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>
零碎知识点,随便记录一下