tar zxvf mod_rpaf-0.6.tar.gz
cd mod_rpaf-0.6/usr/local//apache2/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c
httpd.conf配置
加入模組與設定參數
LoadModule rpaf_module modules/mod_rpaf-2.0.so
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 192.168.10.2 #填寫要屏蔽的nginx ip
RPAFheader X-Forwarded-For #選擇要屏蔽的header