Public paste
Undefined
By: Guest | Date: Dec 8 2009 17:28 | Format: None | Expires: never | Size: 518 B | Hits: 893

  1. server.document-root = "/srv/webserver/content/www.xrel.to/"
  2.  
  3.   url.rewrite = ( "^/robots.txt$" => "/robots_static.txt" )
  4.  
  5.   $HTTP["url"] =~ "^/(uploaded_images|pub_cache/static)/" {
  6.     setenv.add-response-header = ( "Cache-Control" => "max-age=2592000", "Expires" => "Fri, 31 Dec 2010 23:00:00 GMT" )
  7.   }
  8.   else $HTTP["url"] =~ "^/static/" {
  9.     setenv.add-response-header = ( "Cache-Control" => "max-age=864000" )
  10.   }
  11.   else $HTTP["url"] !~ "^/robots(_static|).txt$" {
  12.     url.access-deny = ( "" )
  13.   }
Latest pastes
50 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago