1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-10 00:26:58 +02:00

Refactoring of .htaccess

This commit is contained in:
Petr Pridal
2014-05-21 10:31:37 +02:00
parent 5fca96fd91
commit 3181142368

View File

@@ -1,27 +1,27 @@
# tileserver.php integration with Apache via .htaccess
# Restrictions for data crawlers
#Options -Indexes
# Optional CORS header for cross-domain origin access to all data
#<ifModule mod_headers.c>
# Header set Access-Control-Allow-Origin *
#</ifModule>
# Mapping of the WMTS standardized URLs to real files and XML capabilities to tileserver.php
#check htaccess functionality
DirectoryIndex tileserver.php
RewriteEngine on
#some hostings require RewriteBase e.g. 1&1.com
# Option: some hostings require RewriteBase e.g. 1&1.com
#RewriteBase /
#RewriteBase /server/
#RewriteBase /directory/
#some hostings require -MultiViews e.g. 1&1.com
# Option: some hostings require -MultiViews e.g. 1&1.com
#Options -MultiViews
# Option: Restrictions for data crawlers
#Options -Indexes
# Option: CORS header for cross-domain origin access to all data
#<ifModule mod_headers.c>
# Header set Access-Control-Allow-Origin *
#</ifModule>
# Mapping of the WMTS standardized URLs to real files and XML capabilities to tileserver.php
# WMTS RESTful
# ------------
# The file can be accessed directly: