- Visit mod_proxy_html office site to download source code, or get the latest source code in subversion. Here I checkout the latest sourc code (3.0):
#svn co http://apache.webthing.com/svn/apache/filters/proxy_html/ mod_proxy_html
- Install necessary development packages:
#yum install httpd-devel libxml2-devel
- Install in apxs:
#apxs -I /usr/include/libxml2 -c -i mod_proxy_html.c
- Add necessary directives in httpd.conf:
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so - Restart httpd. Done.
Reference:
4 則留言:
Thank you! =)
THANK YOU SO MUCH!!
I needed to work a little harder:
yum --disablerepo updates install httpd-devel libxml2-devel
svn co http://apache.webthing.com/svn/apache/filters
cd filters/proxy_html apxs -I /usr/include/libxml2 -I ../filters -c -i mod_proxy_html.c
Thanks very much!
張貼留言