IP Address Deny Manager - broken
Hi,
whenever I access our cpanel server's IP Address Deny Manager page it states:
"You have not blocked any IP addresses."
This is all good and well except for the fact that I have added at least 10 IPs to the list that are actively being blocked.
Is there a way to fix this?
Thanks,
-moO-
-
Hello, My initial thought is that your account's .htaccess file located at the path below includes some broken entries: /home/$username/public_html/.htaccess
The IP Blocker feature in cPanel blocks the IP addresses by inserting them with a deny rule into this file, and this tells Apache which IP addresses to deny access from. However, often times users will manually add their own custom rules to the .htaccess file, or sometimes custom rules are added automatically when installing an application such as WordPress or Joomla. These rules are sometimes inserted in an incorrect format, which can prevent the IP Blocker feature in cPanel from obtaining a list of previously blocked IP addresses. Do you have root access to this server? If so, you can run the following command while opening the IP Blocker feature in your browser to see if any errors show up:tail -f /usr/local/cpanel/logs/error_log
Do you notice any errors showing up the moment you access the feature from within cPanel? If so, could you paste them into this thread, ensuring to remove any real domain names and IP addresses? Thank you.0 -
Our /home/username/public_html/.htaccess file contains the following, which seems to not play nice with the IP Blocker:
To clarify, does the option work properly when temporarily removing the existing entries from the .htaccess file? Thank you.0
Please sign in to leave a comment.
Comments
3 comments