X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=apache-gmap.conf;h=86db7b5bc0e64710ffd1618f2a04638c13c84590;hb=4649b288cf5b5821683d8686d5eab2a496e3f2bf;hp=ab32cbbbdfb27363f5af383b7b65fcf72460e051;hpb=38ff7a6edf4f69525bd094908b8a715b7514dcef;p=google-map-tiles.git diff --git a/apache-gmap.conf b/apache-gmap.conf index ab32cbb..86db7b5 100644 --- a/apache-gmap.conf +++ b/apache-gmap.conf @@ -1,7 +1,10 @@ Alias /gmap /srv/google-map-tiles - + 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] +