The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Site being hit by bots use of .htaccess?

Discussion in 'General Discussion' started by MrTall, Mar 23, 2014.

  1. MrTall

    MrTall Member

    Joined:
    Aug 18, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    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:

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

    Really appreciate any assistance on this! :)

    Thanks
     
  2. rootsmoke

    rootsmoke Registered

    Joined:
    Nov 22, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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.
     
  3. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    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...
     
  4. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Re: Site being hit by bots ... use of .htaccess?

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page