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 After Account Restore

Discussion in 'General Discussion' started by Doctor, Aug 20, 2003.

  1. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    I successfully restored a client's account but when I try visiting it, it gives me the page:

    ------------------------------------------------------
    Forbidden
    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    ------------------------------------------------------

    The public_html folder is chmod 750. Need help fast! Thanks in advance.

    cPanel.net Support Ticket Number:
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Doctor, try chmod 755 for public_html.

    Just fixed a client's account myself with a forbidden error. Not sure if my situation was due to suexec.

    cPanel.net Support Ticket Number:
     
  3. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    I got the problem solved by running:

    /scripts/updatenow

    and followed by:

    /scripts/enablefileprotect

    cPanel.net Support Ticket Number:
     
  4. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Glad you got it sorted out :)

    I am getting a number of conflicting permission issues right now. Most of the public_html directories ar 750 and work fine. Others seem to require 755 or else error 403.

    We are running suexec and phsuexec and it would appear as if 755 is required for the sites using PHP.

    We have not ventured into using the fileprotect function yet. Will leave that to another day.

    cPanel.net Support Ticket Number:
     
  5. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    I fixed my error by using "chown user:nobody public_html" and then chmod 755 public_html

    That worked for me.

    cPanel.net Support Ticket Number:
     
  6. Planet_Master

    Planet_Master Well-Known Member

    Joined:
    Apr 18, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New Yorker
    Thx Doc worked perfectly...;)

    cPanel.net Support Ticket Number:
     
  7. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    this apparantly is happening to a lot of servers and if you're restoring a server with hundreds of accounts it's not very practical to have to chmod every one.

    what exactly is causing this to happen in the first place?
     
  8. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
    huh, that was a lifesaver!! :D thank you!
     
Loading...

Share This Page