How to compile and add new module to a running apache?
Posted on 2007-12-03
My web server running apache 2.2.6 (Redhat ES4) with proper configuration. Now I want to add new modules: mod_expires, mod_headers, mod_deflate
I did some search and know there're 2 methods:
1. Use gcc to compile necessary modules from source to .so file, and use LoadModule directive.
2. Recompile apache with some options to keep existing configurations and add new modules.
Could you help me with detail instructions of 2 methods?