无论我做什么,都无法通过公共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 …Run Code Online (Sandbox Code Playgroud)