PxPlus User Forum

Twitter Twitter Twitter

Author Topic: How to add web users to an existing application  (Read 863 times)

PxPlus

  • Administrator
  • Diamond Member
  • *****
  • Posts: 1062
    • View Profile
How to add web users to an existing application
« on: June 29, 2018, 12:11:22 PM »
The most common way to web enable a graphical PxPlus applications is to add iNomads package.  The iNomads package can be added to any PxPlus Professional or E-Commerce license.

However, sometimes you may want to provide web access to your application for only a select few users, even though you may be running with a base PxPlus license.  This can be accomplished by purchasing a separate Wayfarer license for the number of concurrent Web users you want to support and it is often less expensive than adding the iNomads package to an existing license.

Wayfarer licenses are designed to provide the equivalent of a PxPlus Professional license with the added benefit of being able to run either the EZWeb server or Apache interface.

Installing a stand-alone Wayfarer license on the same system as your application resides is a fairly easy process.

Windows Setup:

  • Create a new directory on the system into which you will install the Wayfarer system, such as:
    • C:\Wayfarer

  • Since Windows does not allow multiple copies of the same installed program on the PC, you will need to use a ZIP file to do the install.  Download the Windows ZIP file from our download site and unzip this into the sub-directory:
    • C:\Wayfarer\PxPlus 20xx [\b]

  • Register the installation using the program pxpwactv.exe found in the install directory to enter the  activation key provided with your order, then launch pxplus.exe to complete the process and Register Online.

  • From the Windows Explorer, create a shortcut to pxplus.exe. 
    Modify the shortcut to append the command line arguments -bkg and *ezweb/server to the command as in:
    • "C:\Wayfarer\PxPlus 20xx\pxplus.exe" -bkg "*ezweb/server"

    You should now be able to launch this shortcut and access iNomads from the browser.

If desired you can install the EZWeb server as a service on your windows system by running "*ezweb/install" from the pxplus command line.

Unix/Linux Setup:

  • Create a new directory on the system into which you will install the Wayfarer system, such as:
    • /usr/wayfarer

  • Download the Linux/Unix tar file from our download site and install (un-tar) this into the directory.

  • Register the installation using the program pxpreg found in the install directory to enter the  activation key provided with your order, then launch pxplus to complete the process and Register Online.

  • Create a shell script to run pxplus as follows:
    • /usr/wayfarer/pxplus -bkg "*ezweb/server"  >/dev/null </dev/null &

You should now be able to launch this shell script or add it to your system start up.

Notes:
You may need to adjust your firewall settings in order to allow access to the EZWeb server. 
Add -arg portno to the end of the command used to launch EZWeb to specify a different port, if desired.
« Last Edit: June 29, 2018, 03:26:57 PM by Mike King »