web500gw: Operation modes |
|||
The web500gw server can be run either as stand-alone server,
as nph-CGI program, from inetd or in
test mode.
Stand-alone serverFor production service it is recommended to start web500gw as a stand-alone server. The advantage of this mode is that it reads all the configuration files when it starts. When a request comes in web500gw forks a new process but doesn't need to read the configuration files.
nph-CGI programFor sites with lower traffic it is possible to run web500gw as a nph-CGI program for a already running Web server:
inetd modeTo arrange to have web500gw started from inetd, the Internet protocol daemon, add a line like the following to your/etc/services file, or the equivalent:
web500gw 8888/tcp web500gw
Next, add a line like this to your /etc/inetd.conf file,
or the equivalent:
web500gw stream tcp nowait nobody INSTDIR/web500gw web500gw -I
For these changes to take effect with inetd, you will
probably have to send it it a HUP signal. See inetd(8)
for more details.
Test modeIn test mode the HTML page is written to STDOUT and no daemon will be started. You may use is to test your installation (as the name says) or to produce HTML pages from your directory data, e.g. Phone lists.
|
|||
|
VERSION: 2.1rc1 Availability Features Changes Known Bugs Links & References Installation Modes Configuration: Support: Developers Test it: |
|||
| (modes.html.php Version 1.1) last modified by dekarl on 2001/07/22 at 20:17:46 GMT | |||