I installed libapache2-mod-rpaf package on Debian because mod_remoteip seems to be not available.
I found a github repo but the configuration options are different. For example, in the repository, RPAF_Enable
is used, but the default configuration of the package uses RPAFenable
(see the default configuration of the package)
Where can I find the documentation for the module I am using?
GitHub encourages forking. The Git repository you cited is a fork that differs from your Debian package. Assuming that you are using libapache2-mod-rpaf for Debian wheezy, inspect libapache2-mod-rpaf_0.6-7+wheezy1.dsc.
First, you may notice that http://stderr.net/apache/rpaf/ is a dead link. It's not clear that the package is well supported upstream.
Next, try inspecting the Vcs-Browser URL, then browse
tree
→mod_rpaf-2.0.c
. At Line 207, you'll seeThose are the directives that are relevant for the mod_rpaf 0.6 that comes with Debian wheezy.
Documentation is here:
https://github.com/y-ken/mod_rpaf https://github.com/gnif/mod_rpaf
Example Configuration
LoadModule rpaf_module modules/mod_rpaf-2.0.so
RPAFenable On
RPAFproxy_ips 192.168. 10.0.0
RPAFheader X-Forwarded-For
RPAFsetHostname Off
RPAFsethttps Off
RPAFsetport Off
I dont know Why they remove the underscore in configuration examples but not when they explain settings on main page.