View Single Post
Old 2008-11-18, 02:31 PM   #7
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Glad it worked. Of course, if they change hosts, their IP will change and you'll have to update it in your .htaccess.

You can actually create a list of IPs to deny by simply adding each in this manner:

Code:
deny from XX.XX.XX.XX
So if you were denying five different IPs, that area of your .htaccess might look like this:
Code:
order allow,deny
deny from 89.18.179.48
deny from 12.34.56.78
deny from 22.34.56.78
deny from 32.34.56.78
deny from 42.34.56.78
allow from all
From my minimal understanding, it's really not a good thing to have to big of list rules within your .htaccess because it's forcing your server to cross-check the referring IP of every incoming whatever. You shouldn't experience any sort of issue with just a few though. (I have several IPs banned for multiple long-forgotten reasons.)
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote