Jim, thanks a lot.
The configuration:
> RewriteEngine On
> RewriteCond %{HTTP:Upgrade} =WebSocket [NC,NV]
> RewriteRule ^/(.*) ws://my.backend:8080/$1 [P]
> RewriteRule ^/(.*) http://my.backend:8080/$1 [P]
works fine for me :)
What do you mean with "it's soo expensive" ?
Is rewrite less performant
I need to configure in Apache 2.4.9 (with mod_proxy and mod_proxy_wstunnel
activated) a proxy with this mapping:
- http://my.proxy/* --> http://my.backend:8080/*
- ws://my.proxy/*--> ws://my.backend:8080/*
E.g.:
- ws://my.proxy/cometd-demo-2.8.0/cometd -->
ws://my.backend:8080/cometd-demo