Skip to content

Instantly share code, notes, and snippets.

@tunglam14
Created January 26, 2013 02:38
Show Gist options
  • Save tunglam14/4639759 to your computer and use it in GitHub Desktop.
Save tunglam14/4639759 to your computer and use it in GitHub Desktop.
enable rpaf mod apache 2
$ sudo apt-get install libapache2-mod-rpaf
$ sudo a2enmod rpaf
$ sudo service apache2 restart
cat /etc/apache2/sites-available/default
....
<IfModule rpaf_module>
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 10.0.0.2
RPAFheader X-Forwarded-For
</IfModule>
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment