Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Block direct downloading of .mbtiles by default #8
Browse files Browse the repository at this point in the history
  • Loading branch information
klokan committed May 28, 2014
1 parent ed19c0a commit 987f01c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 987f01c

Please sign in to comment.