How to dynamically apply webagent.conf changes to your Apache Web server without stopping and restarting the server
2 years ago
Originally Published: 2004-09-17
Article Number
000058256
Applies To
Sun Solaris 2.8
Apache 1.3.x
Issue
How to dynamically apply webagent.conf changes to your Apache Web server without stopping and restarting the server
Cause
In some instances like production environments, you may want to apply changes to the webagent.conf file, but without having downtime from stopping and restarting the Web server
Resolution
Apache Web server provides for users to gracefully start the Web server after having made your webagent.conf file changes by utilizing the command:

    ./apachectl graceful

Other options for the apachectl command include (though not available for windows):

? Start: Starts server

? Stop: Stops server

? Restart: Restarts server by sending SIGHUP, or starts if not running

? Fullstatus: Dumps a full status screen; requires lynx and mod_status

? Status: Dumps a short status screen; requires lynx and mod_status

? Graceful: Restarts server by sending SIGUSR1, or starts if not running without shutting down completely

? Configtest: Performs a configuration syntax test (does not check semantics; see error log when starting server)

? Help: Help on apachectl.