- Debian Admin - http://www.debianadmin.com -

Restart Apache Server without affecting existing connections

Posted By Admin On 3rd October 2007 @ 16:42 In Webserver | No Comments

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Sometimes you want to restart your Apache server after changing some configuration in your virutual hosts,sites etc, but you have few hundred clients currently downloading files from your server and you don’t want to disconnect them.

You need to use the following command

#/etc/init.d/apache2 graceful

This will gracefully restart your Apache with new configuration without affecting your client’s connections.

Tags: , , ,

You may also be interested in...


Article printed from Debian Admin: http://www.debianadmin.com

URL to article: http://www.debianadmin.com/restart-apache-server-without-affecting-existing-connections.html

Click here to print.