View Single Post
Old 08-14-2002, 05:08 PM  
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
htaccess question regarding non standard subnets

Hello,

I have some IP addresses I want to block, there is quite a long list and they are in the format of:

123.87/16
123.194.147/24
123.247.32/19

I know in the first two cases (any ending in 8,16,24) I could just use a text editor and replace it with a "."

However, my concern is with the /19 and others like it. When reading on htaccess I found

You can block using:

10.1.0.0/255.255.0.0

or

10.1.0.0/16

Can I also block:

123.247.32/19

by using:

123.247.32.0/19

and

123/13

by using

123.0.0.0/13

?

My concern is over will this work or not. I can easily use a text editor to do it, but I don't know if it will work.

Thanks...
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote