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:
@ -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
|
||||
|
Reference in New Issue
Block a user