The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IP Deny Manager

Discussion in 'General Discussion' started by nuklehed, Apr 7, 2003.

  1. nuklehed

    nuklehed Member

    Joined:
    Dec 10, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Can I only add single IP addresses? How do I add a range of IP addresses?

    FYI - I couldn't find any info about this feature in CPanel's docs. Shocker!

    Thanks,

    -nuklehed
     
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    the ip deny manager add a line to your .htaccess file .

    deny from

    Try to look for documentation regarding "deny from"
    on apache.org

    however if you insert
    212.
    it denies all the ips that starts with 212.

    if you insert
    212.100.
    it denies all the ips that starts with 212. 100

    if you insert
    212.100.101.
    it denies all the ips that starts with 212. 100.101

    if you insert
    212.100.101. 102
    it denies only the ip 212.100.101.102


    I don't know if
    212.100.101.102-103
    or
    212.100.101.102-212.100.101.103
    are accettable , I suppose no .
     
  3. nuklehed

    nuklehed Member

    Joined:
    Dec 10, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Perfect! That's what I suspected but I had manually entered some stuff into my .htaccess file and when I used the tool it entered the 'deny from' line at the end of my entry and not on a separate line. I moved it to its own line and it started working.

    Thanks,

    -nuklehed
     
Loading...

Share This Page