make
in the "projects/webServer" directory.
This compiles all required libraries and generates a standAlone executable
named "webServer".
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:
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.
webServer --useFile filename
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.
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:
Notice that the ","-character separates definitions for individual ports.
webServer --useFile filename1 --port 8081 , --useFile filename1 -port 8082
Copyright © 2003 eXept Software AG, all rights reserved