naqash

Registered
Sep 8, 2011
2
0
51
cPanel Access Level
Reseller Owner
I have this error on website.

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.

I have changed permissions to 777 and 755 but no luck. After checking error log I found this error descriptor: /home/irffanco/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Seems like an issue with .htaccess file which doesn't exist in public_html folder. I created a new .htaccess file and changed permissions but the file size of .htaccess remains 0KB.

Please tell me what should I do.
 

naqash

Registered
Sep 8, 2011
2
0
51
cPanel Access Level
Reseller Owner
OKay finally resolved the issue .htaccess file was in root directory. After renaming it to .htaccess1 made website work fine.
 

alphawolf50

Well-Known Member
Apr 28, 2011
186
2
68
cPanel Access Level
Root Administrator
What were the contents of your .htaccess file (which you renamed .htaccess1)? The mere existence of an .htaccess file won't break anything, it is the contents that was giving you the 403 error. By renaming it, you disabled it.