httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] mod_rewrite
Date Tue, 23 Aug 2005 15:26:27 GMT
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@httpd.apache.org
> 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@rowe-clan.net] 
> Sent: Monday, August 22, 2005 2:09 PM
> To: users@httpd.apache.org
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message