]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.frontend.erb
Allow access to old 404 map tile
[chef.git] / cookbooks / web / templates / default / apache.frontend.erb
index 12beede35b1fead683cdb490f11cf9322e97c6a3..95cb96fe102de2ed86e1b2da1c9fddba99f6cb22 100644 (file)
   RewriteRule . - [F,L]
 
   #
-  # Block requests for the old 404 map tile
-  # and force cache headers on response
+  # Force extended cache headers on the old 404 map tile
   #
   <Location /openlayers/img/404.png>
     Header always set Cache-Control "public, max-age=31536000, immutable"
     Header always set Expires "Tue, 19 Jan 2038 03:14:07 GMT"
-    RewriteRule ^ - [G,L]
   </Location>
 
   #