拒絕從 IP 到檔案目錄的訪問
# Deny access to a directory from the IP 255.0.0.0
<Directory /path/to/directory>
order allow,deny
deny from 255.0.0.0
allow from all
</Directory>
# Deny access to a file from the IP 255.0.0.0
<FilesMatch "^\.ht">
order allow,deny
deny from 255.0.0.0
allow from all
</FilesMatch>