Access to context [/] is denied.

[ad_1]

While accessing the site, I was getting the error as –
Access to context [/] is denied!

Solution :-

1. Please check the permission of “DocumentRoot” directory and the files on your server and the code in the ‘.htaccess’ file is correct. There should not be below code in .htaccess file


<Files *.php>
deny from all
</Files>

2. If your server is litespeed server then please try to restart the litespeed, it’ll work – /etc/init.d/lsws restart

[ad_2]

Leave a Comment

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

To Resolve this issue at just 5$ from ServerExpert

https://serverexpert.io/

For Hosting please visit Hostingwebsite.io

You have Successfully Subscribed!

Open chat