projects
/
google-map-tiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
071c17d
)
replace tileserver cgi with mod_rewrite rules
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 21:03:24 +0000
(23:03 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 21:03:24 +0000
(23:03 +0200)
apache-gmap.conf
patch
|
blob
|
history
diff --git
a/apache-gmap.conf
b/apache-gmap.conf
index
ab32cbb
..
c6e2e27
100644
(file)
--- a/
apache-gmap.conf
+++ b/
apache-gmap.conf
@@
-3,5
+3,8
@@
Alias /gmap /srv/google-map-tiles
<Location /gmap>
AddHandler cgi-script .pl
Options +ExecCGI +Indexes
- ErrorDocument 404 /gmap/tiles/notiles.png
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule /tiles/.*\.png$ /gmap/tiles/notiles.png [L]
</Location>