Sometimes one discovers a module which would be lovely to include in an already compiled Apache.
I’m using here an example of a vanilla Apache I compiled.
Constants:
Source path of Apache: /www/src/
Path of compiled Apache: /www/apache/
Module to compile: proxy_http
Compiling the module:
cd /www/src/modules/proxy
/www/apache/bin/apxs -i -a -c mod_proxy_http.c
This will:
– Compile the module
– Install it in the proper modules directory of the compiled Apache
– Add the following line in the httpd.conf of the compiled Apache
LoadModule proxy_http_module modules/mod_proxy_http.so