• Hi all,

    I know it’s futile to try to ban every spammer, but I’d like to ban at least a few of the more prolific ones that keep coming back to my site from the same subnets. However, although I’ve tried modifying htaccess to keep them out, they keep coming back. I’ve followed instructions I’ve found on this site and elsewhere, without success. These are the very first lines of my htaccess file:

    order deny,allow
    deny from 81.177.15.*
    deny from 81.177.14.*
    deny from 85.255.113.*
    deny from 85.255.114.*
    deny from 195.225.176.86
    deny from 85.255.117.250
    allow from all

    Can anyone see an error in that? How come people from those subnets are still able to access my site?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter ebonmuse

    (@ebonmuse)

    Yes, I am using GoDaddy, but I don’t think that was the problem. war59312 seems to have hit on it – I tried testing it with a friend, and I was able to ban them once I followed his suggestion. Thanks for the tips, everyone! Now let’s just hope this stops the spammers…

    No problem buddy. Take care! ??

    Thread Starter ebonmuse

    (@ebonmuse)

    Well, I’m sorry to report that this fix didn’t work. The IP addresses I tried to block, even using the suggestions from this thread, are still showing up in my spam filter. I know I *can* block by IP address, since I was able to do so successfully with a friend, as I mentioned, but these people are somehow getting around it. Does anyone have any more ideas? Could this be some heretofore unknown security flaw in WordPress or Apache that enables spammers to bypass htaccess rules?

    youre using godaddy, goddady doesnt use mod_access. I spent hours with someone else having the same problem – guess what, they were using godaddy, and after contacting godaddy support they were told its not something they use.

    That or you are still not making the entries correctly.

    I assure you that done correctly and with mod_access available, no IP can bypass an htaccess block.

    otto gave you a viable solution.

    If you like I can provide you my ip and you can attempt to block me.

    Yeah damn Godaddy to hell! POS!

    Change hosts buddy.

    Check out either asmallorange.com or dreamhost.com . I can give you $20 off dreamhost if you wish!

    I’ve been hosted with both for years. With asmallorange since day 1 and for dh for about 4 years.

    Otto42: using rewrites might not be the best idea — doesn’t it take up a lot of processor? You don’t want to waste any more processor time on spammers than is absolutely necessary ??

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Blocking IPs with .htaccess’ is closed to new replies.