对于此问题的解决办法,打开apache安装路径中的http.conf文件,
找打以下内容
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
在Deny from all 前加上#来注释掉此行,并在Allow from 127.0.0.1 后面加上一行Allow from 192.168.1.* 即可。修改后如下:
# onlineoffline tag - don't remove
Order Deny,Allow
# Deny from all
Allow from 127.0.0.1
Allow from 192.168.1.*