i have inserted an ip in the deny manager and it still has access to the site. it dosen't appear to be denied. any advice? the ip is in the .htaccess file. thanks
cpanel ver: 11.11.0-STABLE 18033
i have inserted an ip in the deny manager and it still has access to the site. it dosen't appear to be denied. any advice? the ip is in the .htaccess file. thanks
cpanel ver: 11.11.0-STABLE 18033
What does the entry in the..htaaccess file look like?
Anything show up in Apache's error_log that might give a clue?
in one entry it says:
and under that:Code:deny from xx.xxx.54.140
the xx i have put in :-) many thanksCode:all entries are on 1 line seperated by what looks like a [] character but smaller
notjhing in logs kenneth.
any advice guys. this spammer is hammering my site. thanks
So your whole .htaccess file is something like the below? Is your .htaccess file in the root web doc directory? /home/username/public_html right?
Code:order allow,deny deny from 123.456.789.1 allow from all
Last edited by darren.nolan; 12-11-2007 at 05:53 PM. Reason: Added some formating
hi darren. here is a snip of .htaccess which is in the public_html
as you can see, i have tried both ways to do this. but stll getting through. i have tried blocking my own ip and that blocks no prob, just by issuing deny command. any input? cheersCode:<Limit GET HEAD POST> order allow,deny deny from 216.195 deny from 74.197.103.71 allow from all </LIMIT> deny from 24.252.54.140
I may be wrong, but I believe you need the full IP Address in the Deny statement. Hence
doesn't work.Code:deny from 216.195
You state that you can successfully block your own IP Address. What leads you to believe the other IP Addresses you enter are not being blocked? Entries in log files?