# Setting Up Web Servers

PxPlus Web Server Setup |

## Configuring PxPlus Web Server

To configure the PxPlus Web Server, you need to run the Web Server configuration utility. If installed on a Windows system, this utility can be found in:

> Start » All Programs » PVX Plus Technologies » PxPlus » Web Server » Configure Web Server

On UNIX, you can run the shell command "runconfig" found in your PxPlus Install directory.

See Configuring the Web Server.

#### Note:
The assumption is that you are running this from a graphical workstation using either Windows or WindX to a UNIX/Linux host.

Once the Configuration window displays, select the Edit button to set up a new Web Server to handle iNomads requests.

Selecting this button displays the Server Setup window:

For the Default Root Directory, you need to specify the pathname to the *plus/inomads directory on your server. The full and proper pathname must be specified in Default Root Dir field.

The Default Doc must also be set to inomads.pxp.

The number of tasks defined in the PxPlus Web Server is not related to the number of concurrent iNomads sessions. Apart from the PxPlus Web Server task handlers required to download images, usually only a handful of concurrent Web Server task handlers are required.

All other settings can be set according to normal Web Server configuration.

#### Note:
When entering the Server configuration, make sure you select OK twice to record the settings.

## Starting the Server

Once you have entered the configuration, you will need to start the service running.

Select the Start/Stop button in the Configuration window to launch the server (or terminate it if already running).

Once you select the Start/Stop button, the process should change from Stopped to Running. If, after a few moments, the status changes back to Stopped, it is likely that you have a configuration error. The most likely error is that there is already a Web Server monitoring the port you have selected or the directory you have chosen does not exist.

## Installing as a Service on Windows

The PxPlus Web Server can be installed as a Windows Service using any of the following methods:

Location | Method
From the PxPlus IDE Main Launcher | Expand the Installation and Setup category and select Install Windows Services to launch the Install Windows Services interface. From the Type of Service drop box, select PxPlus Web Server. After entering the service settings in the grid, select the Install button.
From the PxPlus Command line | Enter "*plus/web/service". This utility can be run to install/uninstall the Web Server. See Setting Up Web Server as a Windows Service.