Chapter 9. Configuration for Modules

Most modules need to offer system administrators and users some means of configuring and controlling them. In some cases, this may even be the primary purpose of a module.

System administrators configure Apache using httpd.conf, while end users have more limited control through .htaccess files. Modules give control to both parties by implementing configuration directives that can be used in these files.

This chapter discusses how to implement configuration directives in a module and how to work with directives implemented by other modules.

9.1. Configuration Basics

From the system administrator’s point of view, several kinds of directives exist. These can be broadly classified according to their scope and ...

Get The Apache Modules Book: Application Development with Apache now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.