亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

外部地址無法訪問虛擬主機test01.com,求解?

外部地址無法訪問虛擬主機test01.com,求解?

PHP
慕粉4282406 2017-04-25 13:48:46
系統:win10wamp版本 3.0.6Apache版本 2.4.23本機可以訪問test01.com局域網內其他電腦不可以訪問httpd-vhosts.conf修改如下:<VirtualHost *:80>?ServerName test01.com?DocumentRoot d:/wamp/www/test01?<Directory? "d:/wamp/www/test01">??Options +Indexes +Includes +FollowSymLinks +MultiViews??AllowOverride All??Require local? Require all granted?</Directory>httpd.conf修改如下:(+斜體部分)DocumentRoot "D:/wamp/www"<Directory "D:/wamp/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 local??? Require all granted</Directory>hosts文件加127.0.0.1 test01.com
查看完整描述

2 回答

  • 2 回答
  • 1 關注
  • 1455 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號