无法在移动设备 - WAMP SERVER中访问除localhost主页之外的虚拟主机

时间:2017-09-01 07:47:06

标签: php apache virtualhost wampserver

我正在尝试从通过相同路由器连接的手机访问我的网络应用程序,但我只能访问localhost主页,但是当我点击相应的虚拟主机时,我无法访问该页面。< / p>

我已经通过wamp服务器中提供的界面设置了我的虚拟主机。

Wamp Server版本: 3.0.6

的httpd-vhosts.conf

# Virtual Hosts
#
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot D:/wamp64/www
    <Directory  "D:/wamp64/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        #Require local
        Require all granted
    </Directory>
</VirtualHost>
#

<VirtualHost *:80>
    ServerName transmit
    DocumentRoot "d:/wamp64/www/transmit_renewed"
    <Directory  "d:/wamp64/www/transmit_renewed/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        #Require local
        Require all granted
    </Directory>
</VirtualHost>

0 个答案:

没有答案