mytext
asked on
Deny IP manager entry All in cpanel
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.
Regards
MT
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.
Regards
MT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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:
https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets
Regards, Tobias
>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:
https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets
Regards, Tobias
ASKER
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.
Diarmuid
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.
Diarmuid
ASKER
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.
MT