How Do You Get Apache Web Server Configuration File Changes To Take Effect without Interrupting the Service?

Problem scenario
You want to change the main configuration file for Apache web server (e.g., httpd.conf). But you do not want to drop current web surfers viewing the website. How do you change a security module or listening port for an Apache web server and have the changes take effect without interrupting the service by doing a regular restart?

Use the "graceful" directive. The exact command depends on the distribution of Linux that is running apache.

To learn more about it, see one of the links below:

Behind the scenes signals are sent to a [web service] process. SIGHUP would interrupt the service.* SIGUSR1 would be a signal that would facilitate a graceful reloading and prevent interruption.*

*Taken from

For further context and knowledge you may want to read this related posting.

Leave a comment

Your email address will not be published. Required fields are marked *