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 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,145
    Likes Received:
    34
    Trophy Points:
    48
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
  4. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    63
    Likes Received:
    1
    Trophy Points:
    8
    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