GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   htaccess question regarding non standard subnets (https://gfy.com/showthread.php?t=72192)

Chris R 08-14-2002 05:08 PM

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...


All times are GMT -7. The time now is 04:09 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123