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


Leave a Reply

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

To Resolve this issue at just 5$ from ServerExpert


For Hosting please visit Hostingwebsite.io

You have Successfully Subscribed!

Open chat