1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-07-04 14:42:42 +02:00

Block direct downloading of .mbtiles by default #8

This commit is contained in:
Petr Pridal
2014-05-28 08:33:49 +02:00
parent ed19c0a414
commit 987f01c85e

View File

@ -20,6 +20,12 @@ RewriteEngine on
# Header set Access-Control-Allow-Origin *
#</ifModule>
# Block direct downloading of .mbtiles
<FilesMatch "\.mbtiles$">
Order Allow,Deny
Deny from all
</FilesMatch>
# Mapping of the WMTS standardized URLs to real files and XML capabilities to tileserver.php
# WMTS RESTful