httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "howard chen" <howac...@gmail.com>
Subject Re: [users@httpd] mod_rewrite, mod_proxy, order of execution?
Date Wed, 15 Oct 2008 11:07:57 GMT
Hello,

On Wed, Oct 15, 2008 at 6:49 PM, Eric Covener <covener@gmail.com> wrote:
> On Wed, Oct 15, 2008 at 4:47 AM, howard chen <howachen@gmail.com> wrote:
>>
>> Seems that Rewrite is done after the proxy? How to control the order then?
>
> in 2.2, rewrite will always happen first. In 2.0 it's unpredictable.
>
> To control the order, use RewriteRule with [P] instead of ProxyPass
> when it "overlaps" with other RewriteRules.
>
> --

(I am using Apache 1.37.)


Now I am also using rewrite with [p] flag, everything ok.


So does it mean mixing proxypass with rewrite rule is not recommended?

Thanks.

---------------------------------------------------------------------
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