RE: Apache mod_rewrite/mod_proxy conflict?

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

 



-----Message d'origine-----
> De : Eric Covener [mailto:covener@xxxxxxxxx] 
> Envoyé : mercredi 12 décembre 2007 03:55
> À : users@xxxxxxxxxxxxxxxx
> Objet : Re:  Apache mod_rewrite/mod_proxy conflict?
> 
> 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)
> 

Yes indeed. I missed that. I see that if the translate_name handler of mod_rewrite is executed before the one of mod_proxy, it may set r->proxy_req=PROXYREQ_REVERSE in which case the translate_name handler of mod_proxy will return DECLINED. 

Thanks for pointing this out. 

-ascs

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