updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mod_rpaf / mod_rpaf.install
blobfeb07cdf92fd82de814fadcd3efc728a753f9acc
1 post_install() {
2   echo ""
3   echo ">> Add the following line to /etc/httpd/conf/httpd.conf"
4   echo "   LoadModule rpaf_module modules/mod_rpaf-2.0.so"
5   echo ""
6   echo ">> And add the configuration directives to /etc/httpd/conf/httpd.conf:"
7   echo "   RPAFenable On
8    # Enable reverse proxy add forward
10    RPAFproxy_ips 127.0.0.1 10.0.0.1
11    # which ips are forwarding requests to us
13    RPAFsethostname On
14    # let rpaf update vhost settings 
15    # allows to have the same hostnames as in the real
16    # configuration for the forwarding Apache
18    RPAFheader X-Forwarded-For
19    # Allows you to change which header mod_rpaf looks
20    # for when trying to find the ip the that is forwarding
21    # our requests"
22   echo ""
23   echo ">> Don't forget to restart apache: /etc/rc.d/apache restart"