Re: mod_rewrite, mod_proxy, order of execution?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, Oct 15, 2008 at 6:49 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> On Wed, Oct 15, 2008 at 4:47 AM, howard chen <howachen@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux