您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

解决wampserver3.0.4远程不能访问问题

2024/10/13 4:49:47发布27次查看
在windows2008服务器上安装wampserver3.0.4集成环境,默认却是无法远程访问,如果要远程访问需要修改apache的配置文件httpd.conf,修改如下:
#
# 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 -indexs  +followsymlinks
#
# 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
require all granted
#
# controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
require local
说明:
options -indexs  +followsymlinks把'+indexs'修改为'-indexs'代表不允许访问文件目录;
require all granted此行是后来加上的,加上后就可以远程访问。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product