web500gw: Operation modes
The web500gw server can be run either as stand-alone server,
as nph-CGI program, from inetd or in
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
web500gw 8888/tcp web500gwNext, add a line like this to your
web500gw stream tcp nowait nobody INSTDIR/web500gw web500gw -IFor 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.
Links & References
|(modes.html.php Version 1.1) last modified by dekarl on 2001/07/22 at 20:17:46 GMT|