Wampserver 3.0.6 64 位 - 403 禁止访问
Wampserver 3.0.6 64bit - 403 Forbidden
无论我做什么,都无法通过 public ip 地址访问本地 wamp。
我收到以下错误消息。
禁止
您无权访问此服务器上的 /。
Apache/2.4.23 (Win64) PHP/5.6.25 服务器在(我的 public ip)端口 80
下面我粘贴了 httpd.cong 中应该对此进行调节的部分。
基本上一切似乎都很好。
Wampserver 使用自己的菜单项上线。
我试过将下面的代码插入到目录设置中,没有帮助。
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
我错过了什么?
谢谢。
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options +Indexes +FollowSymLinks +Multiviews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Require all granted
</Directory>
@RiggsFolly- 如果你读过我的问题,你就会知道它与你标记为重复的问题相去甚远。
我不是在问为什么菜单项不可见...
似乎如果您有一个已经创建的虚拟主机文件,在线菜单项不会对其进行必要的更改。
在 vhosts 文件中,将 Require local 更改为 Require all granted 解决了这个问题。
奇怪....
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot F:/wamp64/www
<Directory "F:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#
无论我做什么,都无法通过 public ip 地址访问本地 wamp。 我收到以下错误消息。
禁止 您无权访问此服务器上的 /。 Apache/2.4.23 (Win64) PHP/5.6.25 服务器在(我的 public ip)端口 80
下面我粘贴了 httpd.cong 中应该对此进行调节的部分。 基本上一切似乎都很好。
Wampserver 使用自己的菜单项上线。
我试过将下面的代码插入到目录设置中,没有帮助。
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
我错过了什么? 谢谢。
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options +Indexes +FollowSymLinks +Multiviews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Require all granted
</Directory>
@RiggsFolly- 如果你读过我的问题,你就会知道它与你标记为重复的问题相去甚远。 我不是在问为什么菜单项不可见...
似乎如果您有一个已经创建的虚拟主机文件,在线菜单项不会对其进行必要的更改。 在 vhosts 文件中,将 Require local 更改为 Require all granted 解决了这个问题。 奇怪....
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot F:/wamp64/www
<Directory "F:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#