httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-frederic Clere <jfcl...@gmail.com>
Subject Re: AW: ap_proxy_get_worker
Date Wed, 12 Jul 2006 13:25:07 GMT
Plüm wrote:

>  
>
>>-----Ursprüngliche Nachricht-----
>>Von: Jean-frederic Clere 
>>Gesendet: Mittwoch, 12. Juli 2006 14:21
>>An: dev@httpd.apache.org
>>Betreff: ap_proxy_get_worker
>>
>>
>>Hi,
>>
>>Why does ap_proxy_get_worker() gives the best matched worker? - 
>>Shouldn't it give the exact match -
>>    
>>
>
>Normally you do not have an exact match between the request URL and
>the worker name (which is the last parameter of ProxyPass).
>So longest match is the best thing you can do here.
>  
>
Ok.
What happends in a configuration like:
+++
ProxyPass /foo http://foo.example.com/bar
ProxyPass /bar http://foo.example.com/bar/foo
+++
Only one worker will be created.

Cheers

Jean-Frederic
|||
|

>Regards
>
>Rüdiger
>
>
>  
>


Mime
View raw message