All site inside public_html showing “You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe ” error

I have about 10-12 websites and they are inside public\_html with their own directory. Some are wordpress site, whereas some are static html sites.

But I cannot open any website as it gives me error ” You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe ”

I checked the permission of public\_html and its on 0770. Also I cant change to 0755 or anything.

However, I can change the website directory permisonn and tried 755 , 744 but its not working.

I checked via ftp and there are some changes made(looks like attack) as its showing random theme.php or index.php and its created on Jan 4th and there is no one who can access except me. Should I start by removing all these strange files by sorting out date?



View Reddit by Run_the_showView Source

our recommended web hosting companies

NameCheap

website link: namecheap.pxf.io/Alaaeldin.medium

Hostinger

website link: https://hostinger.sjv.io/Jr95Qr

InMotion hosting

website link: partners.inmotionhosting.com/XxJ0Jg

Hubspot

website link: hubspot.sjv.io/DV2O35

Leave a Comment

Your email address will not be published. Required fields are marked *