Httpd mod proxy Compilation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * mod_proxy Concepts =Overview=") |
No edit summary |
||
Line 3: | Line 3: | ||
* [[Httpd_mod_proxy_Concepts#mod_proxy_Compilation|mod_proxy Concepts]] | * [[Httpd_mod_proxy_Concepts#mod_proxy_Compilation|mod_proxy Concepts]] | ||
= | =Compilation with httpd= | ||
Configuration to compile mod_proxy when httpd is compiled from scratch: | |||
<pre> | |||
./configure ... \ | |||
--enable-proxy \ | |||
--enable-proxy-connect \ | |||
--enable-proxy-http \ | |||
--enable-proxy-ajp \ | |||
--enable-proxy-balancer | |||
</pre> | |||
=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}: | |||
<pre> | |||
cd ${SRC_DIR} | |||
${APACHE_HOME}/bin/apxs -a -i -c ./modules/proxy/mod_proxy.c ./modules/proxy/proxy_util.c | |||
</pre> |
Revision as of 23:27, 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.c ./modules/proxy/proxy_util.c