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.

403 error on various webpages, error log: "client denied by server configuration:"

Discussion in 'General Discussion' started by postcd, Nov 14, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    just today i got 403 error several times and after a while same page works again and in logs are lines with "client denied by server configuration:"

    Please where can i see the cause?

    I checked mod security tools page, but i cant find anything related
     
  2. danrussell

    danrussell Well-Known Member

    Joined:
    Nov 5, 2014
    Messages:
    60
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello :),

    If you are getting 403 access denied error, then it might be due to ModSecurity. You should check the logs for the particular domain

    cat /usr/local/apache/logs/error_log | grep "domainname.com"

    If its ModSecurity, then check the reason for the error.

    Thanks.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    i think there is no more info in that log on what caused this access denial. only message "client denied by server configuration:", script path, date obviously
     
  4. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    More details on modsecurity blocks should be found in:

    /usr/local/apache/logs/modsec_audit.log
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page