https://bz.apache.org/bugzilla/show_bug.cgi?id=58593

--- Comment #4 from Ruediger Pluem <[email protected]> ---
(In reply to Tabby from comment #2)
> Hi Yann,
> not sure if this is a bug, anyway I don't know how to handle this case.
> 
> Scenario:
> We have to serve both http and ws requests under the same URI, through an
> apache reverse proxy.
> 
> I thought this would work:
> <Location /ws/live/>
>     ### Settings for WebSocket
>     ProxyPass        ws://vip-be/wwgw/var/ disablereuse=on  timeout=30
> 
>     ### Settings for HTTP
>     ProxyPass        http://vip-be/wwgw/var/ smax=0  ttl=15
>     ProxyPassReverse http://vip-be/wwgw/var/
> </Location> 
> 

The configuration is wrong. You can only have one ProxyPass in a Location
block. If you really need to serve normal HTTP requests and Websockets from the
same URL you need to do some mod_rewrite magic looking for the Upgrade header.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to