Aug 1
Configure Apache Reverse Proxy on Mac
Following up on the previous posts on configuring apache on Ubuntu, I now post the method to do the same on the Mac.
Step 1: You will need to download the mod_proxy_html module from http://apache.webthing.com/mod_proxy_html/
Step 2: Compile the code.
$ sudo apxs -ci -I /usr/include/libxml2 mod_xml2enc.c $ sudo apxs -ci -I /usr/include/libxml2 -I . mod_proxy_html.c
Then update you httpd.conf to include
LoadFile /usr/lib/libxml2.dylib LoadModule proxy_html_module libexec/apache2/mod_proxy_html.so LoadModule xml2enc_module libexec/apache2/mod_xml2enc.so
Also take a look at the proxy-httpd.conf file that ships with mod_proxy_html for additional config you may want.
