projects
/
google-map-tiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace tileserver cgi with mod_rewrite rules
[google-map-tiles.git]
/
apache-gmap.conf
diff --git
a/apache-gmap.conf
b/apache-gmap.conf
index
29dc355
..
c6e2e27
100644
(file)
--- a/
apache-gmap.conf
+++ b/
apache-gmap.conf
@@
-3,4
+3,8
@@
Alias /gmap /srv/google-map-tiles
<Location /gmap>
AddHandler cgi-script .pl
Options +ExecCGI +Indexes
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule /tiles/.*\.png$ /gmap/tiles/notiles.png [L]
</Location>