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 You don't have permission to access / on this server.

Discussion in 'General Discussion' started by mironi35, Apr 2, 2017.

  1. mironi35

    mironi35 Registered

    Joined:
    Apr 2, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangladesh
    cPanel Access Level:
    Website Owner
    Recently I export Everything (existing mail, website etc;) from one C-Panel and import to another C-Panel.
    Now the problem is I cant brows my site (xyx.com) and mail (mail.xyz.com).

    Bellow is error is showing..... :(


    Code:
    Forbidden
    You don't have permission to access / on this server.
    Server unable to read htaccess file, denying access to be safe
    
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    
    the Error log as Bellow:
    [Sun Apr 02 03:52:02.322629 2017] [core:crit] [pid 13011] (13)Permission denied: [client 66.249.xx.xxx:34149] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable
    [Sun Apr 02 03:52:02.322541 2017] [core:crit] [pid 13011] (13)Permission denied: [client 66.249.xx.xxx:34149] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable
    [Sun Apr 02 03:39:55.608337 2017] [core:crit] [pid 12849] (13)Permission denied: [client 116.212.xxx.xxx:58390] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable, referer: http://www.example.com/
    [Sun Apr 02 03:39:55.608172 2017] [core:crit] [pid 12849] (13)Permission denied: [client 116.212.xxx.xxx:58390] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable, referer: http://www.example.com/
    
    the Error log as Bellow:
    [Sun Apr 02 03:52:02.322629 2017] [core:crit] [pid 13011] (13)Permission denied: [client 66.249.xx.xxx:34149] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable
    [Sun Apr 02 03:52:02.322541 2017] [core:crit] [pid 13011] (13)Permission denied: [client 66.249.xx.xxx:34149] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable
    [Sun Apr 02 03:39:55.608337 2017] [core:crit] [pid 12849] (13)Permission denied: [client 116.212.xxx.xxx:58390] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable, referer: http://www.example.com/
    [Sun Apr 02 03:39:55.608172 2017] [core:crit] [pid 12849] (13)Permission denied: [client 116.212.xxx.xxx:58390] AH00529: /home/example/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/example/' is executable, referer: http://www.example.com/
     
     
    #1 mironi35, Apr 2, 2017
    Last edited by a moderator: Apr 2, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,405
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Check the permission, it would still be under the ownership of old user. Please check it once.
    Refer to the Apache error logs for more details on this..
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    543
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is issue with permission for your account. If you have root access then check file/folder permission using command " ls -l "

    If you have not root access then contact to your hosting provider.
     
  4. Gustavo Luppi

    Gustavo Luppi Registered

    Joined:
    Apr 3, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    We face this kind of problem when we migrate accounts from another server. It is usually related to folder / file permission.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,094
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Check the permissions and ownership values for the account's home directory. EX:

    Code:
    stat /home/$username
    Ensure it matches the format that other home directories on the system use (user/group ownership set to the account username, 0711 permissions by default).

    Thank you.
     
Loading...

Share This Page