1.config 中,将'http://loalhost/moodle';改为'http://本机IP/moodle';
2.Apache2.2\conf中的httpd文件找到Listen 127.0.0.1:80修改Listen 127.0.0.1:80——本机IP:80
3.要实现局域网的访问,还要做一件事:打开你的防火墙—高级设置—服务—web服务器(http)综合以上三步即可实现局域网的访问了。
http://hi.baidu.com/wangkingda/blog/item/6ebb9c46df30c80e6b63e5c3.html