How to install mod_rpaf – reverse proxy
wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz tar -xvzf mod_rpaf-0.6.tar.gz cd mod_rpaf-0.6 apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c
add this to httpd.conf and save it
LoadModule rpaf_module /usr/lib/apache/mod_rpaf-2.0.so #Reverse proxy RPAFenable On RPAFsethostname On RPAFproxy_ips 127.0.0.1 xxx.xxx.xxx.xxx <-- set your public ip xxx.xxx.xxx.xxx RPAFheader X-Forwarded-For
restart service apache
#/etc/init.d/httpd restart