Forum Moderators: phranque
RewriteCond %{REMOTE_ADDR} ^17\.19\.7\.14$ [OR]
RewriteCond %{REMOTE_ADDR} ^73\.13\.36\.142$ [OR]
RewriteCond %{REMOTE_ADDR} ^174\.25\.26\.68$ [OR]
RewriteCond %{REMOTE_ADDR} ^192\.156\.27\.50$ [OR]
RewriteCond %{REMOTE_ADDR} ^74\.61\.24\.174$
Manually assembling such RewriteCond statements from such a list of IPs by editing in backslashes is a big job. If you have a few dozen IPs, it'll take hours!
RewriteCond %{REMOTE_ADDR} ^17\.19\.7\.14$ [OR]
RewriteCond %{REMOTE_ADDR} ^73\.13\.36\.142$ [OR]
RewriteCond %{REMOTE_ADDR} ^74\.61\.24\.174$ [OR]
RewriteCond %{REMOTE_ADDR} ^174\.25\.26\.68$ [OR]
RewriteCond %{REMOTE_ADDR} ^192\.156\.27\.50$ Manually assembling such RewriteCond statements from such a list of IPs by editing in backslashes is a big job. If you have a few dozen IPs, it'll take hours!
a minute or two each in a few dozen lines. That makes one-ish hour.
Denying an IP is easier than Rewriting it but even in that case one can't just point to a file of IPs.
Wait, You mean you can do it like this? As in, no backslashes to edit?
But that's interesting that order makes a difference.
Denying an IP is easier than Rewriting it but even in that case one can't just point to a file of IPs.