Jump to content

Recommended Posts

Posted

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:

 

Forbidden

You 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/

Posted

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.

Posted
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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...