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
</Files>

2. If your server is litespeed server then please try to restart the litespeed, it'll work - /etc/init.d/lsws restart
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

pcre.backtrack_limit reached - Joomla issue

I was getting the below error on my Joomla website - pcre.backtrack_limit reached. Solution :You...

Error while accessing site with special characters. Update collation for database.

I was getting the error while acccessing the http://yourdomainname/collat.php as below -Error...

equired PHP version greater than equal to 5.4.0 AND found version is : 5.3.29 - Softaculous Prestashop not picking up correct php version

You may come across an issue while installing Prestashop via Softaculous regarding not picking up...

How to force the site to use https using .htaccess file?

If you've working SSL certificate on your website and you'd like force your website to load using...

Account Creation Status: failed Each username’s first 8 characters must be unique.

While creating the cPanel account on WHM, below error was generated - Account Creation Status:...

Powered by WHMCompleteSolution