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

How to access phpMyAdmin without login to cPanel?

Many times you will get the question from client that -I want to provide access the phpMyAdmin to...

PHP extension soap must be loaded - Magento Issue

While installing the Magento on cPanel server, I got the error as 'PHP extension “soap” must be...

587 sender verify fail for <email address>: No Such User Here

I was getting the error while sending email as -587 sender verify fail for <email address>:...

The page isn’t working, site is currently unable to handle this request. HTTP ERROR 500

While accessing WordPress site's sub-links and back-end (WordPress admin dashboard ) I was...

Fatal error: Class 'JCache' not found in /libraries/joomla/factory.php - Joomla Issue

After updating the Joomla, I was getting Fatal error: Class 'JCache' not found in...

Powered by WHMCompleteSolution