Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

403 Forbidden error for all websites

Discussion in 'Security' started by armin654, Jan 29, 2015.

  1. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Dear friends
    Suddenly i got 403 Forbidden error for all of my websites and when i checked the WHM to login to server i realized that the login template is just like the 2011 template

    Does it mean that our server is compromised? How it is possible to have the template changed back to 2011??

    PHP handler is not chaged
    no other PHP setting is even touched from months ago

    PHP handler fastcgi
    open_basedir is enabled
    SUexe is on

    I checked apache error log and all of the errors are saying error in accessing .htaccess file
     

    Attached Files:

  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,787
    Likes Received:
    81
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you please let me know what error are you getting in Apache error logs files? please update some error logs here so that I can check that, Also check you / and /home permission and ownership.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any error messages in the /usr/local/cpanel/logs/error_log file? Is this a VPS, and if so, is it possible an image of the server was restored from an old backup? Do you notice any filesystem errors in /var/log/messages?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    104
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Had this happen to one account recently. I believe it is related to having httpd configured to allow some override. The web server then needs to check all accounts for presence of .htaccess. Even if there is no .htaccess in the account(s) in question, it still needs to read it and the permissions are off somewhere.
    Mod/Ownership of the public_html was 750 owner : owner
    The others which worked were all 750 owner:nobody
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice