解决无法通过ip从其他电脑访问xampp集成开发服务器( 从其他电脑访问本机apache服务器)

一般情况下,要更改apache的conf文件的   Listen 80 字段为 Listen *:80;

 

如果已经开启了vhost 那么要在vhost 里面加入

<VirtualHost 10.0.9.77:80>
ServerName 10.0.9.77
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/
</VirtualHost>

替换10.0.9.77 为你本机的IP。

 

posted on 2016-09-01 18:48  Vitalitycn  阅读(131)  评论(0编辑  收藏  举报

导航