This allows "simple" requests using CORS to be cached as we will
always say they are allowed even if the client didn't actually ask
for CORS by specifying an origin.
Preflight requests will still be handled by mod_tile which may add
additional headers for a fuller response.
ErrorLog /var/log/apache2/error.log
BufferedLogs on
ErrorLog /var/log/apache2/error.log
BufferedLogs on
+ # Always set Access-Control-Allow-Origin so that simple CORS requests
+ # will always work and can be cached
+ Header set Access-Control-Allow-Origin "*"
+
# Enable the rewrite engine
RewriteEngine on
# Enable the rewrite engine
RewriteEngine on