我下载了 WAMP 服务器的最新版本(PHP、Apache 和 MySQL),但遇到了问题。当我在 localhost 上时,一切正常,但当我从浏览器访问我的公共 IP 时,它显示:
You don't have permission to access / on this server.
Apache/2.4.23 (Win64) PHP/5.6.25 Server at 95********* Port 80
我怎样才能解决这个问题?
已经修复:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#