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

2014-09-14 Thread Maxim Solodovnik
Hello All, Couple of months passed since this question was answered Are mod_rewrite/mod_lua still the only options to implement this? maybe pod_proxy is now able to handle this? Thanks in advance On 2 June 2014 21:17, Juan Ignacio Barisich wrote: > Jim, thanks a lot. > The configuration: > > R

[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