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 after a shared SSL instalation

Discussion in 'General Discussion' started by dzonidev, Apr 3, 2013.

  1. dzonidev

    dzonidev Registered

    Joined:
    Mar 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hey,

    I installed an SSL cert (Install SSL certificate and Setup the Domain) via root on WHM for a domain (/https://slabhosting.com). But when I did that I was getting the 500 Internal Error, but I fixed that. Now 403 Forbidden is showing up (visit the site above). I ran this command:

    Code:
    tail -f /usr/local/apache/logs/error_log | grep slabsite
    This is what i get when I open the page in the browser.

    Code:
    [Wed Apr 03 11:56:11 2013] [crit] [client 80.93.241.125] (13)Permission denied: /home/slabsite/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Wed Apr 03 11:56:11 2013] [crit] [client 80.93.241.125] (13)Permission denied: /home/slabsite/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Wed Apr 03 11:56:11 2013] [crit] [client 80.93.241.125] (13)Permission denied: /home/slabsite/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Wed Apr 03 11:56:11 2013] [crit] [client 80.93.241.125] (13)Permission denied: /home/slabsite/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    I tried renaming the .htaccess, to .htaccess1 and creating a new one (blank).
    Also checked the permissions, they are 644 on both files.
    But it didn't help.
    Also its not an addon domain.

    Other sites are working fine.

    I have no idea what to do next, I cannot open HTML files nor download any zip, tar,etc... files.

    I searched the web but didn't find a fix...

    Do you guys have any solution?

    Thanks,
     
    #1 dzonidev, Apr 3, 2013
    Last edited: Apr 3, 2013
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Is the file owned by root instead of the account? Edit (by file I mean the .htaccess file)
     
  3. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    It seems to be permission,ownership problem. Have you checked permission, ownership assigned to root folder , public_html.
     
  4. dzonidev

    dzonidev Registered

    Joined:
    Mar 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    It looks like everything is fixed now. The problem was with the SSL cert. installation, as one of the files were the whole problem. Because I installed the SSL cert with username nobody.

    And to answer your questions,
    The file was owned by the user.
    The permissions of the .htaccess were 644, and the perms of public_html were 755.

    Thank you for your help,
     
    #4 dzonidev, Apr 3, 2013
    Last edited: Apr 3, 2013
Loading...

Share This Page