Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Dec 2004
    Location
    Oxfordshire UK
    Posts
    40

    Default Odd 403 Forbidden errors

    Hi,

    On our machine, over all accounts on multiple domains, some files randomly give 403 forbidden errors. There's no pattern in which ones give 403s, though common ones i've observed include index.php, profile.php and request.php.

    I have found no pattern in any of this behaviour and am completely stumped as to what it might be. I'm not running suExec or anything of that sort, I do have mod_security but it's not the cause (Checked config and tried disabling)

    The odd thing is that the 403 only lasts for a minute at most, and then is accessible again.

    Any ideas?
    .: BlackICE Webhosting :.
    Shared, Reseller, Unmetered Dedicated
    http://www.blackicehosting.com

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That could possible be caused by mod_dosevasive/mod_evasive. If you're using it in httpd.conf try disabling the module load lines (2) and restart httpd.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Dec 2004
    Location
    Oxfordshire UK
    Posts
    40

    Default

    Indeed this appears to be the cause of the problem, and disabling it worked fine.

    Many thanks!
    .: BlackICE Webhosting :.
    Shared, Reseller, Unmetered Dedicated
    http://www.blackicehosting.com

  4. #4
    Member akasharkbow's Avatar
    Join Date
    Apr 2005
    Location
    Toronto, Ontario, Canada
    Posts
    13

    Default

    I was having this problem on my server as well and this has fixed the problem. Thanks. I am wondering though, does disabling this open the server up to more attacks? Is there anything I should be concerned about?

    Thanks for your help.

    David J.

  5. #5
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    You can modify the settings for your evasive configuration to prevent the block for occuring.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  6. #6
    Member akasharkbow's Avatar
    Join Date
    Apr 2005
    Location
    Toronto, Ontario, Canada
    Posts
    13

    Default

    Where do I go to do that?

    Thanks for your help.

    David H. Johnston

    I'm a little mean, but I make up for it by bein' real healthy. Say you'll be mine. Say you'll be my beloved!
    - Ernest T. Bass

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    378

    Default

    Quote Originally Posted by akasharkbow View Post
    I was having this problem on my server as well and this has fixed the problem. Thanks. I am wondering though, does disabling this open the server up to more attacks? Is there anything I should be concerned about?

    Thanks for your help.

    David J.
    The module will not be loaded into your Apache. Probably a check / tweak on the mod_dosevasive/mod_evasive modules will help.
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & TRUSTe Privacy Policy

Similar Threads & Tags
Similar threads

  1. 403 Forbidden on everything...
    By Fourtoes in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 08-09-2010, 10:26 PM
  2. 403 Forbidden
    By wschutte in forum cPGS Discussions
    Replies: 2
    Last Post: 08-30-2007, 04:48 PM
  3. All accounts 403 forbidden?
    By Final-Solution in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-13-2004, 11:08 AM
  4. 403 Forbidden Errors
    By jlimited in forum New User Questions
    Replies: 1
    Last Post: 08-02-2004, 12:15 PM
  5. Forbidden 403 ???
    By jmc67 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-21-2003, 08:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube