Forum Moderators: phranque
Update: Would it be because I put a trailing period at the end of a subnet restriction? Like 99.999.99. instead of just 99.999.99?
Welcome to WebmasterWorld!
> Would it be because I put a trailing period at the end of a subnet restriction?
Not likely.
If you omit a trailing period on a subnet restriction such as 11.11.11, then that will block 11.11.11.0 through 11.11.11.255, and also 11.11.111.0 through 11.11.119.255.
Let me ask, how are you determining that .htaccess is "failing"?
If you are seeing 200-OK responses in your raw log file, then look carefully at the Remote IP addresses, remote Hosts, Referrers, and Requested URLs. It is likely either that you have an error in the specification for blocking based on one of these variables, or that you have allowed an exception for one of them, thus allowing access.
Relying on 'stats' or anything other than raw logs can be misleading.
Jim
I checked the stats, which is what I've been going by all along, against the raw logs, and the raw logs show no visit at all by that IP at the day and time indicated in the stats. In addition, raw logs show consistent denials to that IP -- with no exceptions.
Lesson learned: stats are worthless.
Again, thank you very much.