How to Make httpd.conf Take Effect Without Restart

Since restarting httpd service may cause connections disrupted for seconds, you may use reload action instead of restart to make your httpd server apply new configuration in httpd.conf without interrupt online connections.

In Enterprise Linux 6, you can use this command:

[root@test ~]# service httpd reload

In Enterprise Linux 7, you can use this command:

[root@test ~]# systemctl reload httpd

Leave a Reply

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