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 reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Powered by WHMCompleteSolution