Jump to content

How to install a generic third-party Apache module

0
  Rich Bowen's Photo
Posted Aug 31 2009 05:29 PM

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 -cia module.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.

Cover of Apache Cookbook
Learn more about this topic from Apache Cookbook, 2nd Edition. 

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.

Learn More Read Now on Safari


Tags:
0 Subscribe


0 Replies