Re: Apache mod_rewrite/mod_proxy conflict?

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

 



On Dec 10, 2007 1:30 PM, Axel-Stephane  SMORGRAV
<Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:
> Judging from your problem description, specifically the fact that modifying the ordering of the LoadModule directives changes the behaviour of the server, you must be using Apache 1.3.
>
> From Apache 2.0 on the order of execution of the various hooks is independent of the order of LoadModule directives. Apache determines the ordering itself.
>
> Had you used Apache 2.0 your ProxyPass directive would have gotten the upper hand on RewriteRule and there would have been nothing you could do about it except from what was suggested to you.

In 2.0 it's ambiguous between proxy and rewrite in the translate_name
hook.  It can likely be affected by swapping the LoadModule directives
(or running on a different system, or applying OS maintenance, ...)

In 2.2 and later, proxy registers its translate_name routine to
explicitly to run before mod_rewrite.

(i believe the translate_name hook is the one that's effective in this case)

Still, probably unwise to have an overlap between ProxyPass and
RewriteRule ... [P]


-- 
Eric Covener
covener@xxxxxxxxx

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