Site being hit by bots use of .htaccess?

MrTall

Member
Aug 18, 2013
11
0
1
cPanel Access Level
Website Owner
Hello,

I have no idea to where this should be posted here but I'm hoping for any help. I have noticed my site running phpbb is consistently having in excess of 500 guests all presumed to be bots using the following:

Guest IP: 87.198.186.162 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:45 pm
Guest IP: 190.207.136.133 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:45 pm
Guest IP: 41.82.137.180 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:45 pm
Guest IP: 103.251.17.192 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:45 pm
Guest IP: 117.207.220.104 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:44 pm
Guest IP: 72.250.211.102 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:44 pm
Guest IP: 111.255.153.128 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sun Mar 23, 2014 4:44 pm
Guest IP: 180.183.133.111 » Whois
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
What would be the best way to block this traffic? .htaccess, firewall? and how?

Really appreciate any assistance on this! :)

Thanks
 

rootsmoke

Registered
Nov 22, 2013
1
0
1
cPanel Access Level
Root Administrator
Re: Site being hit by bots ... use of .htaccess?

Hello,

You can restrict other bots with is crawling your website via following URL.
===
/http://www.inmotionhosting.com/support/website/restricting-bots/how-to-stop-search-engines-from-crawling-your-website
How to stop Search Engines from crawling your Website | InMotion Hosting
===

Further, you can installed CSF firewall to block IP such as set connlimit.
 

robb3369

Well-Known Member
Mar 1, 2008
122
1
66
cPanel Access Level
Root Administrator
Re: Site being hit by bots ... use of .htaccess?

This may help...
How to Block Unwanted Bots from Your Website with .htaccess (thesitewizard.com)

- - - Updated - - -

Actually looking deeper... We have a large vBulletin forum that uses the StopForumSpam data feed to block these forum type bots... They do have a module that works with phpBB, but it looks like the developer opened it up on GitHub:
https://github.com/EXreaction/Anti-Spam-ACP

Not sure if this helps, but maybe worth a look...
 

rhenderson

Well-Known Member
Apr 21, 2005
785
2
168
Oklahoma
cPanel Access Level
Root Administrator
Re: Site being hit by bots ... use of .htaccess?

Hello,

I have no idea to where this should be posted here but I'm hoping for any help. I have noticed my site running phpbb is consistently having in excess of 500 guests all presumed to be bots using the following:



What would be the best way to block this traffic? .htaccess, firewall? and how?

Really appreciate any assistance on this! :)

Thanks
We are using Mod-Security so it is server wide, you might check out PuntaPirata - ModSec Taylor Made and Tweaks by Sergio
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Keep in mind that you should review the IP addresses of some of the bots to ensure you actually want to block them. For instance, you may want to allow Google bots to scan your forums so that the results are listed on the Google search engine.

Thank you.