Forum Moderators: phranque
...which brings up the issue about ending anchors. This other IP range...
RewriteCond %{REMOTE_ADDR} ^123\.123\.144\.1[1-3]$
Should have that ending anchor huh?
(I didn't have it there)
Thanks
<added>
I've decide on blocking the entire range that includes the above IPs.
123.123.128.0 - 123.123.159.255
So it would be like this?
123\.123\.1[28-59]\.
also please, what about the following:
RewriteCond %{REMOTE_ADDR} "^63\.148\.99\.2(2[4-9]¦[3-4][0-9]¦5[0-5])$" [OR]
do i have to include IP between " as above mentioned or not?
thanks for help
and to block a range, like this:
RewriteCond %{REMOTE_ADDR} ^63\.148\.99\.2(2[4-9]¦[3-4][0-9]¦5[0-5])$ [OR]
sorry to bother you but i'm just a beginner, i'm actually digging into rewriting rules, hopefully i'll do better in a few days,
thanks again
tito
regular expression basics [webmasterworld.com]
Regular expressions - A bit of a reference [webmasterworld.com]
to know the regular expressions helps a lot for writing rewrites.
-hakre