You don't have permission to access on this server.
使用WampServer遇到的一个坑: 服务启动后始终无法进入页面,提示我“You don't have permission to access ../....on this server.”开始在网上搜索了,都说是httpd.conf的问题,但是反复改了还是不对,后来尝试改了extra/httpd-vhosts才终于解决:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName 51tao.club
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
需要添加一套<VirtualHost *:80>,并将ServerName 改成你的域名就可以了