apache中如何只允许本地和另一IP访问

httpd.conf 中设置

Options All

AllowOverride None

Order Deny,Allow

Deny From all

Allow From 192.168.0.7

Allow From 127.0.0.1

张贴在<a href="http://www.shaogroup.com/category/computer-internet" rel="category tag">电脑网络</a> 标签:<a href="http://www.shaogroup.com/tag/apache" rel="tag">Apache</a> 发表回复