Configuring mod_proxy_hml and mod_proxy_wstunnel on the same URL (different protocols)

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

 



Hello,

Is it possible to set up proxying of
http://mysite/openmeetings to http://localhost:5080/openmeetings
and same time
ws://mysite/openmeetings to ws://localhost:5080/openmeetings

What I have tried
Install apache httpd on Ubuntu 13.10 server (2.4.6 using apt-get)
Checkout 
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.7/modules/proxy/mod_proxy_wstunnel.c
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.7/modules/proxy/mod_proxy.h

(2.4.7 sources were used since I got seg faults with 2.4.6)


build using
apxs2 -aic -I/usr/include/libxml2 ./mod_proxy_wstunnel.c

1) Add following lines to the config:

        <Location /openmeetings>
                Order allow,deny
                Allow from all
                ProxyPass http://localhost:5080/openmeetings
                ProxyPassReverse http://localhost:5080/openmeetings

               ProxyPass ws://localhost:5080/openmeetings
               ProxyPassReverse ws://localhost:5080/openmeetings
        </Location>

2) restart apache

perform steps 1 and 2 commenting different lines
No luck :(

Can someone please help me?

Thanks in advance!

[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