不积跬步,无以至千里

如何让局域网内Apache互相访问

不知道有些什么其他的配置,我这里的配置如下,mark下。

  1. httpd-vhosts.conf 的配置
</VirtualHost>
<VirtualHost 172.16.41.14>
     ServerName 172.16.41.14
     DocumentRoot "D:\phpStudy\WWW"
</VirtualHost>

  1. httpd.conf 的配置
<Directory />
    Options +Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
</Directory>

  1. 你的ip地址

  2. 可以正常访问了

posted @ 2018-01-05 09:47  昃昃  阅读(1534)  评论(0编辑  收藏  举报
Just Do It !