mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-07-05 07:04:44 +02:00
Block direct downloading of .mbtiles by default #8
This commit is contained in:
@ -20,6 +20,12 @@ RewriteEngine on
|
|||||||
# Header set Access-Control-Allow-Origin *
|
# Header set Access-Control-Allow-Origin *
|
||||||
#</ifModule>
|
#</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
|
# Mapping of the WMTS standardized URLs to real files and XML capabilities to tileserver.php
|
||||||
|
|
||||||
# WMTS RESTful
|
# WMTS RESTful
|
||||||
|
Reference in New Issue
Block a user