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 ? Best regards 2014-05-31 12:53 GMT-03:00 Jim Jagielski <[email protected]>: > I'm sure we can do w/ mod_rewrite... it's just that > it's soo expensive :) > > On May 30, 2014, at 3:40 PM, Ruediger Pluem <[email protected]> wrote: > > > > > > > Jim Jagielski wrote: > >> Off the top of my head, I think we would need to > >> add another proxypass option. > > > > Have you tried the following? > > > > RewriteEngine On > > RewriteCond %{HTTP:Upgrade} =WebSocket [NC,NV] > > RewriteRule ^/(.*) ws://my.backend:8080/$1 [P] > > RewriteRule ^/(.*) http://my.backend:8080/$1 [P] > > > > > > > > Regards > > > > RĂ¼diger > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
