Skip to content

Instantly share code, notes, and snippets.

@spidersea
Created December 24, 2013 08:36
Show Gist options
  • Save spidersea/8110424 to your computer and use it in GitHub Desktop.
Save spidersea/8110424 to your computer and use it in GitHub Desktop.
一、下载并编译mod_rpaf模块到apache
二、启动将以下配置添加到httpd.conf
LoadModule rpaf_module modules/mod_rpaf-2.0.so
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 10.130.x.x 10.130.x.x 10.130.x.x 10.130.x.x 10.130.x.x 10.130.x.x ###前端IP
RPAFheader NS-Client-IP
三、重启apache,查看apache日志
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment