Mod_proxy in Ubuntu
1. Install reverse_proxy module
sudo apt-get install libapache2-mod-proxy-html
2. Install libxml if it is not already installed.
sudo apt-get install libxml2-dev
3. Load the modules in apache2.conf file
LoadModule? proxy_module???????? /usr/lib/apache2/modules/mod_proxy.so
LoadModule? proxy_http_module??? /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule? headers_module?????? /usr/lib/apache2/modules/mod_headers.so
LoadModule? deflate_module?????? /usr/lib/apache2/modules/mod_deflate.so
LoadFile??? /usr/lib/libxml2.so
4. Say you want to forward all requests starting with /foo to http://moo.com then add the following to your apache2.conf file
ProxyPass /foo/? http://moo.com/
5. Edit file? /etc/apache2/mods-available/proxy.conf and set the proxy to allow from all
Source :
http://abhirama.wordpress.com/2008/11/03/apache-mod_proxy-in-ubuntu/
http://ubuntuforums.org/showthread.php?t=313511

9. July 2009 at 2:09 pm :
[...] REF:http://www.livingubuntu.com/77 and http://blog.plathong.net/2009/05/mod_proxy-in-ubuntu/ [...]