Linux.Apache

From Mike's Wiki

Jump to: navigation, search

How to install mod_proxy_html in CentOS

  1. Visit mod_proxy_html office site to download source code, or get the latest source code in subversion. 
     Here I checkout the latest source code (3.0):
     #svn co http://apache.webthing.com/svn/apache/filters/proxy_html/ mod_proxy_html
  2. Install necessary development packages:
     #yum install httpd-devel libxml2-devel
  3. Install in apxs:
     #apxs -I /usr/include/libxml2 -c -i mod_proxy_html.c
  4. Add necessary directives in httpd.conf:
     LoadFile /usr/lib/libxml2.so
     LoadModule proxy_html_module modules/mod_proxy_html.so
  5. Restart httpd. Done.
Personal tools