403 after a shared SSL instalation

dzonidev

Registered
Mar 7, 2013
4
0
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,
 
Last edited:

dzonidev

Registered
Mar 7, 2013
4
0
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,
 
Last edited: