DenyIp::adddenyip(xxx.xxx.xxx.xxx) failed: Error: while opening /home/xxx/public_html/.htaccess Error: while opening /home/xxx/public_html/.htaccess

I was getting the below error while adding an IP address from cPanel >> IP Blocker -

DenyIp::adddenyip(xxx.xxx.xxx.xxx) failed: Error: while opening /home/xxx/public_html/.htaccess Error: while opening /home/xxx/public_html/.htaccess
 
Solution :-

1. Check if .htaccess file is present under root directory.
2. Check if .htaccess file permission is valid i.e 644.

It should resolve your issue!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to setup SMTP port on Linux server using WHM?

By default SMTP outgoing server is configured for port 25. If you would like to allow exim to...

Domain ****.com has outgoing email disabled.

I was getting below error message while sending emails - This message was created automatically...

Authentication Failed - Email password is not working in desktop application

I tried accessing the email account from one of the email client on my desktop. It was generating...

Error displaying the error page: The cachelite Cache Storage is not supported on this platform. (Joomla error)

While accessing the Joomla site, I was getting error as - Error displaying the error page: The...

#145 - Table './database_name/table_name' is marked as crashed and should be repair

I was getting below error while accessing one site - Error in establishing database...

Powered by WHMCompleteSolution