Re: Preserve protocol in httpd proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Off the top of my head, I think we would need to
add another proxypass option.

On May 30, 2014, at 10:21 AM, Maxim Solodovnik <solomax666@xxxxxxxxx> wrote:

> I also would like to know :) 
> Is it also possible using Apache 2.4.7?
> 
> 
> On Fri, May 30, 2014 at 9:08 PM, Jim Jagielski <jim@xxxxxxxxxxx> wrote:
> Hmmm... let me mull this over.
> 
> BTW: CCing on dev@
> On May 29, 2014, at 11:18 AM, Juan Ignacio Barisich <juan.barisich@xxxxxxxxx> wrote:
> 
> > 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-2.8.0/cometd
> > - http://my.proxy/cometd-demo-2.8.0/cometd --> http://my.backend:8080/cometd-demo-2.8.0/cometd
> > - http://my.proxy/cometd-demo-2.8.0/jquery-examples/chat/ --> http://my.backend:8080/cometd-demo-2.8.0/jquery-examples/chat/
> >
> > In other words, I need a proxy that keeps (preserves) the protocol.
> >
> > This configuration does not work:
> >
> >     <VirtualHost *:80>
> >        ...
> >        ProxyRequests Off
> >        ProxyPreserveHost Off
> >        ProxyPass / http://my.backend:8080/
> >        ProxyPassReverse / http://my.backend:8080/
> >     </VirtualHost>
> > because all request (no matter protocol) are proxied to http*
> >
> > Anyone knows how can I solve this?
> >
> > Thanks!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux