Author Topic: How to install apache modules  (Read 9893 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to install apache modules
« on: September 23, 2014, 09:28:03 AM »
/usr/local/apache/modules  missing so many modules how can i install them ?

Offline
*
Re: How to install apache modules
« Reply #1 on: September 26, 2014, 02:38:43 AM »
After 2 days of research i found my solution

there is no way to install modules, need to re compile

down below code for mod_proxy module to use proxy for domains (i used for railo cos i wanted some domain run 8888 port)

/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c

/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_ajp.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c /tmp/apache-build/httpd-2.2.27/modules/proxy/ajp_utils.c /tmp/apache-build/httpd-2.2.27/modules/proxy/ajp_header.c /tmp/apache-build/httpd-2.2.27/modules/proxy/ajp_msg.c /tmp/apache-build/httpd-2.2.27/modules/proxy/ajp_link.c


/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_http.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c


/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_balancer.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c


/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_connect.c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_ftp.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c


/usr/local/apache/bin/apxs -a -i -c /tmp/apache-build/httpd-2.2.27/modules/proxy/mod_proxy_scgi.c /tmp/apache-build/httpd-2.2.27/modules/proxy/proxy_util.c