修改httpd.conf,找到 Deny from all
Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
Allow from 192.168.0.242 #加上您的ip
修改httpd.conf,找到 Deny from all
Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
Allow from 192.168.0.242 #加上您的ip