projects
/
google-map-tiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use Directory instead of Location to allow vhost overlay
[google-map-tiles.git]
/
apache-gmap.conf
diff --git
a/apache-gmap.conf
b/apache-gmap.conf
index
ab32cbb
..
86db7b5
100644
(file)
--- a/
apache-gmap.conf
+++ b/
apache-gmap.conf
@@
-1,7
+1,10
@@
Alias /gmap /srv/google-map-tiles
Alias /gmap /srv/google-map-tiles
-<
Location /gmap
>
+<
Directory /srv/google-map-tiles
>
AddHandler cgi-script .pl
Options +ExecCGI +Indexes
AddHandler cgi-script .pl
Options +ExecCGI +Indexes
- ErrorDocument 404 /gmap/tiles/notiles.png
-</Location>
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule /tiles/.*\.png$ /gmap/tiles/notiles.png [L]
+</Directory>