We help IT Professionals succeed at work.

Deny IP manager entry All in cpanel

mytext asked
Medium Priority
Last Modified: 2013-11-08
Hi All,
I am relatively new to cpanel. But have used other control panels. I normally block unwanted IP’s in the htaccess file.
When I set up the hosting account I looked at Deny IP manager and believe it said “no IPs are being blocked”.
Then one day the list of “Current IP addresses being blocked:” changed to a single entry:
Server Setting – All  
Beginning IP – All
Ending IP - All
When I try to remove this entry I get the following error message "Error: invalid argument, requires IP"
The site still works (which kind of surprises me) and people come and go. But I suspect this issue has something to do with an issue with returning transactions.
I look forward to hearing what people think, is this entry normal or should I / how can I get rid of it.
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)


Hi Tobais,

I had a look at the old and the new htaccess file and...

The new after editing by cpanel:
<Limit GET POST>
#The next line modified by DenyIP
order allow,deny

The old htaccess from backup:
<Limit GET POST>
order deny,allow

I have a big list of blocked IPs which I added manually.

What would the effect of the change in order be?

is there anyway to stop cpanel from messing in the htaccess?

many thanks.


Did it work to restore the .htaccess file from backup?

>What would the effect of the change in order be?
I don't know.

>is there anyway to stop cpanel from messing in the htaccess?
It might be a bug in cPanel. Try opening a ticket at:

Regards, Tobias


Hi Tobias,

I have changed it back to the old method. I will not know if it made any difference untill a real life transactions gets processed.

I have checked the site from a number of computers and see no negitive impact, yet anyway.

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.