Portal Home > Knowledgebase > Reverse Proxy service > Compile and configure mod_rpaf for Apache 2.x to work with RP service


Compile and configure mod_rpaf for Apache 2.x to work with RP service




login to your server/VPS as root and do the following :

wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
tar -xf mod_rpaf-0.6.tar.gz
rm -rf mod_rpaf-0.6.tar.gz
cd mod_rpaf-0.6
yum -y install httpd-devel
apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c
vi /etc/httpd/httpd/httpd.conf

and add this directives

LoadModule rpaf_module /usr/lib/apache/mod_rpaf-2.0.so
RPAFenable On
RPAFproxy_ips 127.0.0.1 xx.xx.xx.xx
RPAFsethostname On
RPAFheader XSLRP-Real-IP

replace xx.xx.xx.xx with our reverse proxy IP.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution