You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Micha Lenk <mi...@lenk.info> on 2011/08/22 14:19:14 UTC
Re: [PATCH 51489] ProxyPassReverse issue + patch
Hi Ruediger,
sorry, things piled up recently...
On 07/13/2011 06:36 PM CEST +02:00, Ruediger Pluem wrote:
> Try
>
> ProxyPassReverse balancer://196f045aca6adc82a0b6eea93ed286a1
>
> instead.
This results in an Internal Server Error:
[warn] proxy: No protocol handler was valid for the URL <request URL>.
If you are using a DSO version of mod_proxy, make sure the proxy
submodules are included in the configuration using LoadModule.
Doesn't seem to be a solution... :(
Regards,
Micha
Re: [PATCH 51489] ProxyPassReverse issue + patch
Posted by Micha Lenk <mi...@lenk.info>.
Hi Ruediger,
On 08/22/2011 02:40 PM CEST +02:00, "Plüm, Rüdiger, VF-Group" wrote:
>> On 07/13/2011 06:36 PM CEST +02:00, Ruediger Pluem wrote:
>>> Try
>>>
>>> ProxyPassReverse balancer://196f045aca6adc82a0b6eea93ed286a1
>>>
>>> instead.
>>
>> This results in an Internal Server Error:
>>
>> [warn] proxy: No protocol handler was valid for the URL <request URL>.
>> If you are using a DSO version of mod_proxy, make sure the proxy
>> submodules are included in the configuration using LoadModule.
>>
>> Doesn't seem to be a solution... :(
>
> This means that your config is wrong and you have not loaded the required protocol
> handlers like mod_proxy_http or mod_proxy_ajp.
> Or your config does not load mod_proxy_balancer.
I do have the protocol handler mod_proxy_http loaded and
mod_proxy_balancer is loaded as well.
However, I guess the 'your config is wrong' is nevertheless true. I
found out that I have no issue at all if the config consistently uses a
slash after the load balancer id.
<Proxy balancer://196f045aca6adc82a0b6eea93ed286a1/>
BalancerMember http://server-1.local/ status=-SE
BalancerMember http://server-2.local/ status=-SE
</Proxy>
<VirtualHost 10.8.16.33:80>
ServerName frontend.local
<Location />
ProxyPass balancer://196f045aca6adc82a0b6eea93ed286a1/
ProxyPassReverse balancer://196f045aca6adc82a0b6eea93ed286a1/
</Location>
</VirtualHost>
So, please consider the case as solved and the patch as void.
Regards,
Micha
RE: [PATCH 51489] ProxyPassReverse issue + patch
Posted by "Plüm, Rüdiger, VF-Group" <ru...@vodafone.com>.
> -----Original Message-----
> From: Micha Lenk [mailto:micha@lenk.info]
> Sent: Montag, 22. August 2011 14:19
> To: dev@httpd.apache.org
> Subject: Re: [PATCH 51489] ProxyPassReverse issue + patch
>
> Hi Ruediger,
>
> sorry, things piled up recently...
>
> On 07/13/2011 06:36 PM CEST +02:00, Ruediger Pluem wrote:
> > Try
> >
> > ProxyPassReverse balancer://196f045aca6adc82a0b6eea93ed286a1
> >
> > instead.
>
> This results in an Internal Server Error:
>
> [warn] proxy: No protocol handler was valid for the URL <request URL>.
> If you are using a DSO version of mod_proxy, make sure the proxy
> submodules are included in the configuration using LoadModule.
>
> Doesn't seem to be a solution... :(
This means that your config is wrong and you have not loaded the required protocol
handlers like mod_proxy_http or mod_proxy_ajp.
Or your config does not load mod_proxy_balancer.
Regards
Rüdiger