p_lea
02-07-2007, 11:35 AM
Ive found a trend in locations sites get abused from so now its tim eto block them. Easy I thought, just block the IP ranges a host owns.
<Limit GET HEAD POST>
order allow,deny
deny from 66.225.201.0/24
deny from 66.225.253.0/24
...
...
...
allow from all
</LIMIT>
I would like to take this up a notch and block by host name mask but cant find anything about this.
I would like to block access from any site containing host in its domain name. The reason behind this is to block all access from compromised webhosting companies running web proxies. I see no reason why a real human would purchase using a webhosting address.
deny from *.*hosting.*
deny from *.*host.*
Block any.anyHOSTING.any
Block any.anyHOST.any
Block any.anyHOSTS.any
Can this be done?
<Limit GET HEAD POST>
order allow,deny
deny from 66.225.201.0/24
deny from 66.225.253.0/24
...
...
...
allow from all
</LIMIT>
I would like to take this up a notch and block by host name mask but cant find anything about this.
I would like to block access from any site containing host in its domain name. The reason behind this is to block all access from compromised webhosting companies running web proxies. I see no reason why a real human would purchase using a webhosting address.
deny from *.*hosting.*
deny from *.*host.*
Block any.anyHOSTING.any
Block any.anyHOST.any
Block any.anyHOSTS.any
Can this be done?