Re: [users@httpd] mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David, if you have a single pattern, either 10.10.131. or 10.10.131/24
will match the entire subnet.  If you have divided it into two different
patterns, I already answered your question.

Please, do some background reading on IPv4 and subnet patterns, that
would tell you that the 10.10.131.128/25 matches 25 bits, 10.10.131.,
and within that, anything with bit 128 (2^7) set.  So this pattern
matches 10.10.131.128-.255 inclusive.

Lucas, David wrote:
Does anyone have any thoughts as to how I will get this to match??

Thanks,

Dave

-----Original Message-----
From: Lucas, David Sent: Monday, August 22, 2005 2:28 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] mod_rewrite

/25 would be correct.
If you look at Noah response his solution works on the upper half of the
subnet so 10.10.131.128/25 is matched.  I need the lower half now.

Dave

-----Original Message-----
From: William A. Rowe, Jr. [mailto:wrowe@xxxxxxxxxxxxx] Sent: Monday, August 22, 2005 2:09 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] mod_rewrite

Lucas, David wrote:

Ok,

How might I match?

10.10.131.0 - 10.10.131.127


10.10.131.0/25

is the standard syntax for oddball subnetting.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux