Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12476

Reply To: htaccess Block IP Address – Block Access to Files by IP Address

$
0
0

Hi,

Just a quick question on this — I like the REMOTE_ADDR –>  idiots.php approach rather than the DENY FROM method, because if you get serial spammers it creates a large error file very quickly, but I was wondering if we can still use IP ranges with the REMOTE_ADDR the way you can with DENY FROM?

I have one very persistent but none too bright comment spammer who has access to a full range of IP addresses from 112.5.234.xxx

and the IP Blocker I am currently using will only allow me to block one IP address at a time! Can I use something like

RewriteCond %{REMOTE_ADDR} ^(112\.5\.234\.)$

to block his full range of IP addresses?

Terry

  • This reply was modified 21 hours, 31 minutes ago by Avatar of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12476

Trending Articles