mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-01 07:43:30 +00:00
Make /status
and /dirty
URLs controlable with apache conf (#359)
* Allow the …/status URL to be turned on or off (default of on remains) Add ModTileEnableStatusURL On/Off to allow the …/status to be turned on (default) or off. Previous behaviour has …/status on, which is not changed in this patch. * Allow the …/dirty URL to be turned on or off (default of on remains) Add ModTileEnableDirtyURL On/Off to allow the …/dirty to be turned on (default) or off. Previous behaviour has …/dirty on, which is not changed in this patch. * Make …/dirty & …/status disabled by default. This is a breaking change. To get the old default behaviour back, you must now manually add `ModTileEnableStatusURL On` & `ModTileEnableDirtyURL On` to your apache configuration. * Change default for ModTileEnable Dirty/Status URL to On * Add log output for when `/dirty`/`/status` is Off * Add tests for "ModTileEnable{Dirty|Status}URL Off" --------- Co-authored-by: Amanda McCann <amanda@technomancy.org>
This commit is contained in:
@ -136,6 +136,8 @@ typedef struct {
|
||||
int delaypoolRenderSize;
|
||||
long delaypoolRenderRate;
|
||||
int bulkMode;
|
||||
int enableStatusUrl;
|
||||
int enableDirtyUrl;
|
||||
} tile_server_conf;
|
||||
|
||||
typedef struct tile_request_data {
|
||||
|
Reference in New Issue
Block a user