wr121a Posted May 10, 2013 Posted May 10, 2013 My account is newly created.I am unable to access subdirectories (via browser) under my public html folder (created via ftp). I receive the following error: ForbiddenYou don't have permission to access /uploads on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Shouldn't there also be default errordocuments created? And in the error logs in cpanel it shows:client denied by server configuration I found some information on the error here:http://www.cyberciti...-configuration/
Shinryuu Posted May 10, 2013 Posted May 10, 2013 Do you have a ~/public_html/uploads/.htaccess file? If not what does your root .htaccess look like? Shouldn't there also be default errordocuments created?By default the ~/public_html/.htaccess file has no ErrorDocument directives, you can make some custom shtml error documents through cPanel or make your own and use ErrorDocument directives to have those pages shown. cPanel handles adding the ErrorDocument directive for you.
wr121a Posted May 10, 2013 Author Posted May 10, 2013 Do you have a ~/public_html/uploads/.htaccess file? If not what does your root .htaccess look like?I do, but I had renamed it a.htaccess so it shouldn't be in effect. There's a default one in the root, but it's blank.I just deleted everything and re-uploaded it, and no more errors; odd. I suppose we can mark this as solved.
Recommended Posts