httpd.conf中在
Deny from all
Allow from 127.0.0.1

后增加
Deny from all
Allow from <IP>