Deploying a Rich Client Application (Magic xpa 2.x)
To be able to deploy a Rich Client application on UNIX platforms:
-
The following files and folders are created once you use the Rich Client Deployment Builder:
appname\appname.application
appname\appname.publish.html
appname\mgxpaRIA_x_y_z_www\ (x,y,z represent the Magic xpa version and www is a unique number representing the specific version
appname\Images\
-
Add the following into the httpd.conf Apache configuration file in this order:
AddType application/x-ms-application .application
AddType application/x-ms-application .manifest
AddType application/octet-stream deploy
AddType application/x-msdownload .dll
AddHandler default-handler .jpg .gif .js .txt .bat .msi
-
Manually change the HTTPCompressionLevel in the application's publish.html file to None, since there is no compression when the server is a non-Windows platform.
For example:
<body onload="initialize()">
<xml id="rcExecProps">
<properties>
<property key="protocol" val="http"/>
<property key="server" val="aix51:2261"/>
<property key="requester" val="/mgrequest019"/>
<property key="appname" val="frame"/>
<property key="prgname" val="START"/>
<property key="arguments" val=""/>
<property key="envvars" val=""/>
<property key="UseWindowsXPThemes" val="Y"/>
<property key="HTTPCompressionLevel" val="None"/>
<property key="DisplayStatisticInformation" val="N"/>
<property key="InternalLogLevel" val=""/>
<property key="InternalLogFile" val=""/>
<property key="InternalLogSync" val="Session"/>
<property key="LogClientSequenceForActivityMonitor" val="N"/>
</properties>
</xml>
<table align="center">