MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
I enabled the rewrite items under WMTS KVP, but the server is throwing the following error when trying to access:
[Thu Mar 14 19:48:05.323904 2019] [rewrite:error] [pid 31] [client 10.0.3.1:58248] AH02596: RewriteRule '^' and URI '/Tiles/2019-0000_C93DB669ECBB2A872BD919962EF70B3D/wmts' exceeded maximum number of rounds (32000) via the [N] flag
10.0.3.1 - - [14/Mar/2019:19:48:04 +0000] "GET /Tiles/2019-0000_C93DB669ECBB2A872BD919962EF70B3D/wmts?Request=GetTile&Service=WMTS&Version=1.0.0&Layer=2019-0000_732_BA3866600C3540F67C1E9575E213BE0A&TileMatrixSet=WGS84&TileMatrix=19&TileRow=212882&TileCol=1
13608&Format=image%2fpng HTTP/1.1" 500 811
The Request was: wmts?Request=GetTile&Service=WMTS&Version=1.0.0&Layer=2019-0000_732_BA3866600C3540F67C1E9575E213BE0A&TileMatrixSet=WGS84&TileMatrix=19&TileRow=212882&TileCol=113608&Format=image%2fpng
.htaccess area
variable order of keys: TODO: sort the same way as mime-extension to fixed order
I enabled the rewrite items under WMTS KVP, but the server is throwing the following error when trying to access:
[Thu Mar 14 19:48:05.323904 2019] [rewrite:error] [pid 31] [client 10.0.3.1:58248] AH02596: RewriteRule '^' and URI '/Tiles/2019-0000_C93DB669ECBB2A872BD919962EF70B3D/wmts' exceeded maximum number of rounds (32000) via the [N] flag
10.0.3.1 - - [14/Mar/2019:19:48:04 +0000] "GET /Tiles/2019-0000_C93DB669ECBB2A872BD919962EF70B3D/wmts?Request=GetTile&Service=WMTS&Version=1.0.0&Layer=2019-0000_732_BA3866600C3540F67C1E9575E213BE0A&TileMatrixSet=WGS84&TileMatrix=19&TileRow=212882&TileCol=1 13608&Format=image%2fpng HTTP/1.1" 500 811
The Request was: wmts?Request=GetTile&Service=WMTS&Version=1.0.0&Layer=2019-0000_732_BA3866600C3540F67C1E9575E213BE0A&TileMatrixSet=WGS84&TileMatrix=19&TileRow=212882&TileCol=113608&Format=image%2fpng
.htaccess area
variable order of keys: TODO: sort the same way as mime-extension to fixed order
RewriteCond %{QUERYSTRING} ^.request=gettile.layer=([\w\d.-]+).tilematrix=(\d+).tilerow=(\d+).tilecol=(\d+).format=(\w+).$ [NC] RewriteRule ^ %1/%2/%3/%4.%5 [N] RewriteCond %{QUERY_STRING} ^.request=gettile.layer=([\w\d._-]+).format=(\w+).tilematrix=(\d+).tilerow=(\d+).tilecol=(\d+).$ [NC] RewriteRule ^ %1/%3/%5/%4.%2 [N] RewriteCond %{QUERYSTRING} ^.request=gettile.layer=([\w\d.-]+).tilematrix=(\d+).tilecol=(\d+).tilerow=(\d+).format=(\w+).*$ [NC] RewriteRule ^ %1/%2/%4/%3.%5 [N]