httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wanna...@us.ibm.com
Subject NT multiple services patch
Date Wed, 10 Mar 1999 21:05:11 GMT


This patch enables multiple servers on NT by providing a clean way to
install, uninstall, and signal multiple services.  A server is referred to
by either its service name or the full path to its configuration file.

The following options were added or modified:

-f [server]         : Force this Apache to use config of [server]
-t [server]         : Test the config of [server]
-i [name [server]]  : Install service "name" to use config [server]
-u [name]           : Uninstall service "name"
-k action [server]  : Signal running Apache [server] (console or service)
                      action is (start|restart|shutdown)

If server is not specified, Apache searches for it in this order:

1) ./SERVER_CONFIG_FILE
2) Registry:  HKEY_LOCAL_MACHINE/SOFTWARE/Apache Group/Apache
/[Version]/ConfPath
3) /HTTPD_ROOT/SERVER_CONFIG_FILE

.. with the exception of -k, for which we add a step
1.5) Registry: HKEY_LOCAL_MACHINE/SOFTWARE/Apache Group/Apache
/[Version]/LastRun
    (the confpath of the last Apache instance)

If name is not specified with -i or -u, Apache uses the default ("Apache").

(See attached file: service.pch)

Keith Wannamaker
IBM IHS Development Team
RTP, NC  USA

Mime
View raw message