This was not working anymore since 273973e which moved the sources to a src/
directory in order to clean up the top level directory, which broke the package
build. However, debian/rules already contains calls to 'make' which install
mod_tile.so to the correct location, so it's not even necessary to install it
using debian/libapache2-mod-tile.install.
If there are multiple proxies on the path, then X-Forwarded-For is not a single address, but a list
of addresses.
One can now choose whether one wants to use the first entry in the chain, which should be the client address,
or the last entry in the chain.
The first entry of the chain can't necessarily be trusted, as the client can create its own X-Forwarded-For http header
and thus manipulate the IP that the tileserver would use for throttling.
Using the last entry is particularly useful if one has a reverse proxy in front of the tileserver. In that case the
proxy is under ones own control and can be trusted.
If a tileserver is behind a (reverse) proxy server it only sees the IP of the proxy.
So all requests from the proxy get put in the same bucket for tile throttling. Instead, now
use the X-Forwarded-For http header to determine the IP of the originating client.
In the commit to add support for other file extensions other than png,
AddTileConfig configuration was broken due to a typo.
Bug reported by Sven Geggus and Frederik Ramm
Made renderd more configurable at runtime: socketname, num_threads and the mapnik settings plugins_dir, font_dir, and font_dir_recurse are now available through renderd.conf
There should be only one incompatible change: the [Default] section in the config is now in all lowercase "[default]" because the parser lib gives section and key names back in lowercase