httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: svn commit: r832310 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml
Date Wed, 04 Nov 2009 18:13:29 GMT
Thanks. Applied in r832826.

On Nov 3, 2009, at 06:17 , Bob Ionescu wrote:

> 2009/11/3  <rbowen@apache.org>:
>> Author: rbowen
>> Date: Tue Nov  3 06:09:35 2009
>> New Revision: 832310
> [...]
>> -RewriteRule   ^(.*)$  ${multiplex:<strong>%1</strong>|www.example.com

>> }$1  [R,L]
>> +RewriteRule   ^(.*)$  ${multiplex:<strong>%1</strong>|http://www.example.com/

>> }$1  [R,L]
>
> I think the pattern should be ^/(.*) as well since the rule-set is
> likely placed into server context due to the map definition. So one
> will get example.com//foo or example.de//foo since both the map values
> and the default value supply the leading slash of the URL-path
> portion.
>
> Bob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>

--
Rich Bowen
rbowen@rcbowen.com




---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message