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] Apache mod_rewrite/mod_proxy conflict?
Date Wed, 12 Dec 2007 02:54:56 GMT
On Dec 10, 2007 1:30 PM, Axel-Stephane  SMORGRAV
<Axel-Stephane.SMORGRAV@europe.adp.com> 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@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