Thread: htaccess help
View Single Post
Old 07-04-2003, 08:03 AM  
mephisto
Registered User
 
Join Date: Oct 2002
Posts: 60
also this

RewriteEngine on
RewriteMap hosts-deny txt:/etc/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
RewriteRule ^/.* - [F]

THe /etc/hosts.deny is a suggestion, you may use whatever you choose.
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.

AB-Arun
mephisto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote