Options FollowSymlinks +IncludesNOEXEC
DirectoryIndexindex.html index.htm index.php
Order deny , allow
Deny from all
Allow from 218.83.152.2 218.83.152.10
</Directory>
# 意思是 /usr/www/www 这个目录只允许来自218.83.152.2218.83.152.10的访问
# 默认是allow,先判断deny的部份再判断allow部份,Deny语句与Allow语句先后顺序不重要
<Directory "/usr/www/www">
Order allow , deny
Allow from 218.83.152.2 218.83.152.10
</Directory>
# 默认是deny
评论