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

Enabling Apache modules


The Apache HTTP server employs a modular architecture. Additional functionality can be added to the server by including additional modules. While these modules can be compiled into the server itself, on most systems they are installed separately as shared libraries. Apache's configuration files decide which modules are loaded when the server starts.

Webmin provides a simple form to enable and disable Apache modules. In this recipe, we will activate the mod_rewrite module.

How to do it...

Follow these steps to enable an Apache module:

  1. Navigate to Servers | Apache Webserver | Global configuration | Configure Apache Modules.

  2. Mark the checkbox for the rewrite module.

  3. Click the Enable Selected Modules button.

How it works...

Webmin adds a line to Apache's configuration, which loads the selected module. In Apache Version 1, the directive for loading modules is AddModule, while in Version 2 it is LoadModule.

On some systems Apache2 doesn't actually store the LoadModule lines in the...