           SPELL=mod_rpaf
         VERSION=0.6
          SOURCE=$SPELL-$VERSION.tar.gz
   SOURCE_URL[0]=http://stderr.net/apache/rpaf/download/$SOURCE
     SOURCE_HASH=sha512:1ad5af69cfe0e72cc609c081388e20e6a40cff1af7b47581b3d6958e5c7badf6580b2e14e5bd86482fe7cc7b60ca5045a2486c6f3f6e8ece7c142d38df990b4c
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
        WEB_SITE=http://stderr.net/apache/rpaf/
      LICENSE[0]=APACHE
         ENTERED=20090408
           SHORT="reverse proxy add forward module for Apache"
cat << EOF
rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend
Apache servers. It does excactly the opposite of mod_proxy_add_forward written
by Ask Bjørn Hansen.

It changes the remote address of the client visible to other Apache modules
when two conditions are satisfied. First condition is that the remote client
is actually a proxy that is defined in httpd.conf.  Secondly if there is an
incoming X-Forwarded-For header and the proxy is in it's list of known
proxies it takes the last IP from the incoming X-Forwarded-For header and
changes the remote address of the client in the request structure. It also
takes the incoming X-Host header and updates the virtualhost settings
accordingly. For Apache2 mod_proxy it takes the X-Forwared-Host header and
updates the virtualhosts.
EOF
