【发布时间】:2018-02-02 11:08:17
【问题描述】:
突然间,我的本地 WampServer 虚拟主机无法正常工作。
我已向vhosts.conf 和hosts 添加了一个新的虚拟主机。
当我在网络浏览器中加载该虚拟主机时,我收到403 Forbidden。
在vhosts.conf,我有:
<VirtualHost *:80>
ServerName example.com.au
ServerAlias example.com.au
DocumentRoot "D:\Dropbox\WAMP\WWW\example.com.au"
<Directory "D:\Dropbox\WAMP\WWW\example.com.au">
Options Indexes FollowSymLinks MultiViews
Require all granted
</Directory>
</VirtualHost>
在httpd.conf 我有:
Listen 10.0.0.199:80 ::1
Listen [::0]:80
<Directory />
AllowOverride none
Require all denied
</Directory>
其中 10.0.0.199 是我电脑的 IP。
WampServer 在线。
WampServer 3.0.6 阿帕奇 2.4.23
帮助表示赞赏。
【问题讨论】:
标签: apache wampserver