Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    39

    Default ip not beeing blocked

    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

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    What does the entry in the..htaaccess file look like?

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Anything show up in Apache's error_log that might give a clue?

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    39

    Default

    in one entry it says:

    Code:
    deny from xx.xxx.54.140
    and under that:

    Code:
    all entries are on 1 line seperated by what looks like a [] character but smaller
    the xx i have put in :-) many thanks

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    39

    Default

    notjhing in logs kenneth.

  6. #6
    Member
    Join Date
    Mar 2006
    Posts
    39

    Default

    any advice guys. this spammer is hammering my site. thanks

  7. #7
    Member darren.nolan's Avatar
    Join Date
    Oct 2007
    Posts
    259

    Default

    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

  8. #8
    Member
    Join Date
    Mar 2006
    Posts
    39

    Default

    hi darren. here is a snip of .htaccess which is in the public_html

    Code:
    <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
    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? cheers

  9. #9
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I may be wrong, but I believe you need the full IP Address in the Deny statement. Hence
    Code:
    deny from 216.195
    doesn't work.

    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?

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 05-05-2010, 01:09 AM
  2. How to exclude a domain from beeing mail serviced?
    By gdns in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2007, 03:10 PM
  3. server beeing used to spam help
    By roby2k in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-07-2006, 06:37 PM
  4. Emails with PDF attachement are beeing rejected
    By anton_latvia in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-14-2005, 08:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube