Back to HTTPServer Main Index

Standalone WebServer Setup

Help index

Building

To create (compile) the standalone webServer application, type:
    make
in the "projects/webServer" directory. This compiles all required libraries and generates a standAlone executable named "webServer".

Startup and Configuration

Then start a server with the command:
    webServer
to get a list of command line argument options, type:
    webServer --help

The webServer can read its configuration from a settings file (XML format), typically, this is named "webServerSettings.xml". The easiest way to create such a file is to configure a server in the (non-standAlone Smalltalk) settings dialog and save it.
Then start the standalone server with:

    webServer --useFile filename
Further setup can be done via the maintenance service (if it was configured). Notice, that for security reasons, the maintenance service can only be invoked from a local machine unless it was given a realm in the authentication settings.

If the standAlone webServer is started without a settings file, it will include some default services (including the maintenance service) and serve the default port (8080).
Further setup can (must) then be done via a local browser.

Serving Multiple Ports

The webServer is capable of serving multiple ports, when started with:
    webServer --useFile filename1 , --useFile filename2 , ... , --useFile filenameN
each fileName provides the setup for a port (which is defined in the config file).

It is also possible to overwrite the port as specified in the settings file, by adding the command line argument "--port portNr", as in:

    webServer --useFile filename1 --port 8081 , --useFile filename1 -port 8082
Notice that the ","-character separates definitions for individual ports.

Copyright © 2003 eXept Software AG, all rights reserved


Doc $Revision: 1.4 $ $Date: 1997/08/07 15:06:09 $