Created
January 26, 2013 02:38
-
-
Save tunglam14/4639759 to your computer and use it in GitHub Desktop.
enable rpaf mod apache 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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