Recent Topics

[2.4.1] Blocking IP address and/or domain name

Started by on Jun 30, 2008 – Contents updated: Jun 30, 2008

Jun 30, 2008 09:05    

Version: 2.4.1

I get a lot of hits from BS IP addresses and domain names.
Is there a way to block them? Even if not from within B2evo, like for example at the web server level?

Jul 01, 2008 20:50

If the answer is no, don't hesitate to tell me.
I think I can handle it! :lol:

Jul 02, 2008 03:46

Usually you block IP's in a rule in .htaccess. There are questions about this answered in the forums or else Google is your best friend.

Good luck

Jul 02, 2008 07:34

This can be done with something like

Code

RewriteCond %{REMOTE_ADDR} ^xxx\.xxx\.xxx\.xxx$
RewriteCond %{REMOTE_ADDR} ^yyy\.yyy\.yyy\.yyy$
RewriteRule . - [F,L]

one RewriteCond line for each IP you want to block.

Jun 21, 2010 18:45

Thanks for digging up a 2 year old post :|

¥


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.