homepage Welcome to WebmasterWorld Guest from 54.196.62.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
.htaccess again
ban by ip block
BoneHeadicus

10+ Year Member



 
Msg#: 161 posted 5:24 pm on Jan 6, 2001 (gmt 0)

I was wanting make sure I get the right format....we already know..

>To ban an IP add to your .htaccess file:
deny from xxx.xxx.xxx.xxx

where xxx.xxx.xxx.xxx is a full or partial IP address.
Can I do this by range?
ie 100.100.100.100-200.200.200.200

 

BoneHeadicus

10+ Year Member



 
Msg#: 161 posted 4:58 am on Jan 8, 2001 (gmt 0)

Gee, BoneHeadicus...that's a fine question.
Perhaps one of the fine professional webmaster types will join in and answer this plaguing situation you have.

Hang in there...help is on the way.

BoneHeadicus

10+ Year Member



 
Msg#: 161 posted 5:02 am on Jan 8, 2001 (gmt 0)

Bless you my son.
I am overwhelmed by your concern and understanding in the futility of my seemingly endless plight with these h4x0r aggressors.

Oooh whoa is me.

littleman

WebmasterWorld Senior Member littleman us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 161 posted 9:15 am on Jan 8, 2001 (gmt 0)

Gee, looks like this one slipped by. Take a look at

[webmasterworld.com ].

BoneHeadicus

10+ Year Member



 
Msg#: 161 posted 5:10 pm on Jan 8, 2001 (gmt 0)

Thanks littleman.
Can I do it by range as Air suggests in the .ht file?

BoneHeadicus

10+ Year Member



 
Msg#: 161 posted 5:49 pm on Jan 20, 2001 (gmt 0)

>>where xxx.xxx.xxx.xxx is a full or partial IP address.
Can I do this by range?
ie 100.100.100.100-200.200.200.200

Does anyone know if I can do this by a range?

Air

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 161 posted 7:14 pm on Jan 20, 2001 (gmt 0)

ranges are not supported but partial ip addresses are, i.e. 111.222.333. would block everything coming from 111.222.333.???

Marn

10+ Year Member



 
Msg#: 161 posted 12:11 am on Jan 23, 2001 (gmt 0)

111.222.333.???

I'd like to know if it would block a range as well.

I do know that the octet, 333, is non-existent in an IP address.

It think it will not go above either 254 or 255?

I believe I have only seen IPs range:
0-254

Wait until the (IPv6 ) 6 octet string IP addresses are rolled out, or are they already?

Air

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 161 posted 3:59 am on Jan 23, 2001 (gmt 0)

>I do know that the octet, 333, is non-existent in an IP address.

Yes you are right, it was just an example ... :)

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 161 posted 11:00 am on Jan 23, 2001 (gmt 0)

Back to the original q. Not much to it really. If your server is setup to resolve domain names, you can even mix and match:

deny from 211.201.01.14 funstuff.ca 191.226.120.12

Just use a space between thye ip's/names.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved