If you have downloaded a third-party module that isn’t listed in this chapter, and you want to install it, move to the directory where the module’s source file was unpacked, and then:
%/path/to/apache/bin/apxs -ciamodule.c
In the case of a third-party module that consists of a single
.c file, there is a good chance
that it can be built and installed using the Solution. Modules that
involve multiple source files should provide their own installation
instructions.
The -cia options mean to
compile, install, and activate. The first is pretty straightforward;
install means put the .so file in
the place Apache expects to find it; and activate means to add the
module to the httpd.conf
file.
The new edition of the Apache Cookbook offers you updated solutions to the problems you're likely to encounter with Apache. Thoroughly updated for Apache versions 2.0 and 2.2, this book includes more than 200 recipes ranging from simple tasks, such installing the server on Red Hat Linux or Windows, to more complex tasks, such as setting up name-based virtual hosts or securing and managing your proxy server.




Help






