[users] Re: [users@httpd] Preserve protocol in httpd proxy

2014-06-02 Thread Juan Ignacio Barisich
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

[users@httpd] Preserve protocol in httpd proxy

2014-05-29 Thread Juan Ignacio Barisich
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