Access to context [/] is denied! – Knowledgebase


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

Leave a Comment

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

Hire a server Expert to resolve the issue Now.

Hire a server Expert to resolve the issue Now.

Resolve this issue in just 5$ from https://serverexpert.io

 

You have Successfully Subscribed!

Open chat