Wampserver 3.0.6 64bit - 403 Forbidden

mee*_*mee 0 wamp wampserver http-status-code-403

无论我做什么,都无法通过公共IP地址访问本地wamp.我收到以下错误消息.

禁止您无权访问此服务器上的/.Apache/2.4.23(Win64)PHP/5.6.25服务器(我的公共IP)端口80

下面我已经粘贴了应该对此进行规范的httpd.cong部分.基本上一切似乎都没问题.

Wampserver使用自己的菜单项在线.

在此输入图像描述

我已经尝试将下面的代码插入目录设置,但没有帮助.

Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Run Code Online (Sandbox Code Playgroud)

我错过了什么?谢谢.

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>
Run Code Online (Sandbox Code Playgroud)

@ RiggsFolly-如果你已经阅读了我的问题,你就会知道它与你标记为重复的那个没有关系.我不是在问为什么菜单项不可见......

mee*_*mee 10

如果您有一个已经创建的虚拟主机文件,则put在线菜单项不会对其进行必要的更改.在vhosts文件中更改需要本地要求所有已授予修复此问题.奇怪....

# 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>
#
Run Code Online (Sandbox Code Playgroud)