网站首页 博客 apache只允许某些IP访问
apache只允许某些IP访问
DocumentRoot "/path/to/your/web"
ServerName www.iefeel.com
DirectoryIndex index.html index.php
<Directory "/path/to/your/web">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
Deny From all
Allow From 192.168.0.100
Allow From 192.168.0.101
</Directory>