Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Restarting Apache


Whenever you make changes to the configuration of the Apache web server, associated runtime environments (such as PHP), or web applications served by Apache through additional modules (such as mod_wsgi), you will need to restart the server daemon processes.

How to do it...

Restarting Apache using Webmin is very simple:

  1. Navigate to Servers | Apache Webserver

  2. Click the Apply Changes link to restart the server.

How it works...

Clicking on Apply changes in Webmin's Apache web server module causes Apache to restart gracefully. This causes Apache to finish processing all requests but to stop accepting new connections. When Apache finishes sending the last response, it restarts and resumes accepting connections. From the perspective of a user, this will cause some requests to take longer to complete, but otherwise the server restart should be transparent. After the restart, Apache will work in accordance with the new configuration files.

You can also restart Apache in a similar fashion...