httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Ionescu <bobsie...@googlemail.com>
Subject Re: svn commit: r832310 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml
Date Tue, 03 Nov 2009 14:17:54 GMT
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


Mime
View raw message