
rbowen at rcbowen
Nov 4, 2009, 10:13 AM
Post #2 of 2
(40 views)
Permalink
|
|
Re: svn commit: r832310 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml
[In reply to]
|
|
Thanks. Applied in r832826. On Nov 3, 2009, at 06:17 , Bob Ionescu wrote: > 2009/11/3 <rbowen[at]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[at]httpd.apache.org > For additional commands, e-mail: docs-help[at]httpd.apache.org > -- Rich Bowen rbowen[at]rcbowen.com --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe[at]httpd.apache.org For additional commands, e-mail: docs-help[at]httpd.apache.org
|