httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] mod_rewrite, mod_proxy, order of execution?
Date Wed, 15 Oct 2008 10:49:55 GMT
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.

-- 
Eric Covener
covener@gmail.com

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