Httpd mod proxy ajp Compilation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:
cd ${SRC_DIR}
cd ${SRC_DIR}
${APACHE_HOME}/bin/apxs -a -i -c ./modules/proxy/mod_proxy_ajp.c \
${APACHE_HOME}/bin/apxs -a -i -c ./modules/proxy/mod_proxy_ajp.c \
                             ./modules/proxy/ajp_header.c   \
                             ./modules/proxy/ajp_header.c \
                             ./modules/proxy/ajp_msg.c       \  
                             ./modules/proxy/ajp_msg.c \  
                             ./modules/proxy/ajp_utils.c     \
                             ./modules/proxy/ajp_utils.c \
                             ./modules/proxy/ajp_link.c
                             ./modules/proxy/ajp_link.c
</pre>
</pre>

Revision as of 23:40, 1 January 2017

Internal

Compilation with httpd

Configuration to compile mod_proxy when httpd is compiled from scratch:

./configure ... --enable-proxy \ 
       --enable-proxy-connect \
       --enable-proxy-http \
       --enable-proxy-ajp \
       --enable-proxy-balancer

Compilation for an Already Installed httpd Instance

In order to compile and install on an already installed httpd instance:

  • Check out/download the corresponding source tree.
  • Locate the httpd instance you want to install the module into. Assuming that is located at ${APACHE_HOME}:
cd ${SRC_DIR}
${APACHE_HOME}/bin/apxs -a -i -c ./modules/proxy/mod_proxy_ajp.c \
                             ./modules/proxy/ajp_header.c \
                             ./modules/proxy/ajp_msg.c \ 
                             ./modules/proxy/ajp_utils.c \
                             ./modules/proxy/ajp_link.c