AH01797: client denied by server configuration cPanel
AH01797: client denied by server configuration in cPanel
Whenever we attempt to browse a website, a 403 forbidden error appears. Additionally, we can see a similar issue to “AH01797: client denied by server configuration” in the website error logs. Include the below code to .htaccess file and prevent the IP address from accessing the website.
<Directory "/">
Order allow,deny
Deny from all
</Directory>
In this case, we should edit the .htaccess file and remove the code which is blocking the IP address or all IP addresses from accessing the website.