FILTERXFF - An Apache filter module for XFF headers
FilterXFF is an Apache module which removes any X-Forwarded-* headers from outgoing requests as inserted by mod_proxy in reverse setups. While it would be arguably cleaner to do not add the headers at all instead of removing them afterwards again, this external module approach has the advantage of being usable without the need to patch the source code and recompile Apache.
The FilterXFF source distribution uses APXS for building the module. For detailed installation instructions see the README file in the root directory of the source distribution.