Difference: AppxHTMLClient543 (17 vs. 18)

Revision 182016-08-11 - JoeOrtagus

Line: 1 to 1
 

APPX HTML Client 5.4.3/5.4.4

This page gives installation instructions and an overview of the Appx HTML client.

Line: 113 to 113
 
  • In Releases to 5.4.4 and greater, create the /etc/httpd/conf.d/appx.conf file with the following lines (or just add these to httpd.conf):

    ProxyPass "/appxwss" "wss://localhost:3014"
    ProxyPassReverse "/appxwss" "wss://localhost:3014"
    ProxyPass "/appxws" "ws://localhost:3014"
    ProxyPassReverse "/appxws" "ws://localhost:3014"

    ProxyPass "/appxhttps" "https://localhost:3014"
    ProxyPassReverse "/appxhttps" "https://localhost:3014"
    ProxyPass "/appxhttp" "http://localhost:3014"
    ProxyPassReverse "/appxhttp" "http://localhost:3014"

  • Change 'client.html' settings to:

    appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
    appx-proxy-port = “80"
    appx-proxy-path = /appxws/
    appx-encryption = “aes”

  • Restart your web server

Added:
>
>
If you are using Windows IIS for your web sever platform, and do not wish to expose TCP 3014 then you'll need IIS 8.0 or greater to support Websockets with IIS ARR installed and the URL Rewrite module enabled. A web.config similar to the following should work.

<?xml version="1.0" encoding="UTF-8"?>
 <configuration>
     <system.webServer>
         <rewrite>
             <rules>
                 <rule name="ReverseProxyInboundRule1">
                     <match url="appxws" />
                     <action type="Rewrite" url="http://localhost:3014/{R:0}" />
                 </rule>
                 <rule name="ReverseProxyInboundRule2">
                     <match url="appxhttp" />
                     <action type="Rewrite" url="http://localhost:3014/{R:0}" />
                 </rule>
             </rules>
         </rewrite>
     </system.webServer>
 </configuration>
 NOTE: If you are running selinux security on your server, you will have to configure it so that apache can initiate an outgoing network connections to the web socket server port. Use the following command:

# setsebool -P httpd_can_network_connect 1

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback