Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe

Right now I'm getting this message in a single site of my whole reseller account: Forbidden

You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

It happened all of a sudden. I tried renaming the root htaccess to anything else, and the error is still there, I even tried setting up 744 permissions to the file, still the same thing. Currently the file is using the default files permissions, 644. The error is ocuring at: http://lucrebem.com.br

like image 704
user3692451 Avatar asked Aug 31 '15 04:08

user3692451


People also ask

Why htaccess not working on server?

The filename is misspelled or does not begin with a period htaccess file included) then you must ensure that the filename is correct and that it begins with a period ( . ). Without the period at the beginning, Apache will ignore the file - same goes for if the file is misspelled.


1 Answers

So the problem was that the public_html folder changed permissions to 744, but I never changed it. I solved it changed the permissions to 750. But how do I see the logs??? Because I never did a change on that folder, I'm afraid it might have been an attack.

like image 116
user3692451 Avatar answered Nov 15 '22 23:11

user3692451