Access to context [/] is denied!


Access to context [/] is denied!

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

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

Also Read

Powered by WHMCompleteSolution


Leave a Comment

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

To Resolve this issue at just 5$ from ServerExpert

For Hosting please visit

You have Successfully Subscribed!

Open chat