TSplusDocs
Current v19 TR
Gelişmiş Dokümantasyon

How to setup Apache reverse proxy support of Websockets

first of all change following variable to false www\software\html5\settings.js > W.xhrreverse = false; (if you don’t change it to false, it will always try xhr instead websockets, what we don’t want anymore) install Apache with proxy_wstunnel support (older Apaches without proxy_wstunnel are unsupported!) allow in Apache config…

  1. first of all change following variable to false www\software\html5\settings.js > W.xhrreverse = false; (if you don’t change it to false, it will always try xhr instead websockets, what we don’t want anymore)

  2. install Apache with proxy_wstunnel support (older Apaches without proxy_wstunnel are unsupported!)

  3. allow in Apache config (httpd.conf etc.) following modules. LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

  4. let’s assume you want to access html5 main portal via subfolder “/html5/” As example http://your_ip_or_domain.net/html5/ And Tsplus is installed in intranet on server “intranetxyz” then add to the config (httpd.conf etc.) following

    ProxyPass /html5 http://intranetxyz:80 ProxyPassReverse /html5 http://intranetxyz:80

    ProxyPass “ws://intranetxyz:80/socket.io/websocket_https”

    ProxyPass “ws://intranetxyz:80/socket.io/websocket”

    ProxyPass “ws://intranetxyz:80/socket.io/flashsocket_https”

    ProxyPass “ws://intranetxyz:80/socket.io/flashsocket”

  5. Restart Apache to take changes effect.

TSplus Türkiye

Need help with this topic?

The TSplus Türkiye team can help you validate the configuration before production rollout.

Contact local support →
Search results

Type at least two characters to search all products.