Daily Archives: December 2, 2014

Home »  2014 »  December »  2nd (Tuesday)

mod_rpaf 설치

apache log상에 프록시 IP만 찍힐때 apache 모듈을 추가!
apache 2.2 에 설치함.
wget msnote.co.kr/file/mod_rpaf-0.6.tar.gz
tar zxvf mod_rpaf-0.6.tar.gz
cd mod_rpaf-0.6.tar.gz
/usr/local/apache/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
– vhost추가 >
RPAFenable On
RPAFsethostname On
RPAFproxy_ips xxx.xx.xx.12 << 프록시IP
RPAFheader X-Forwarded-For