- server.document-root = "/srv/webserver/content/www.xrel.to/"
- url.rewrite = ( "^/robots.txt$" => "/robots_static.txt" )
- $HTTP["url"] =~ "^/(uploaded_images|pub_cache/static)/" {
- setenv.add-response-header = ( "Cache-Control" => "max-age=2592000", "Expires" => "Fri, 31 Dec 2010 23:00:00 GMT" )
- }
- else $HTTP["url"] =~ "^/static/" {
- setenv.add-response-header = ( "Cache-Control" => "max-age=864000" )
- }
- else $HTTP["url"] !~ "^/robots(_static|).txt$" {
- url.access-deny = ( "" )
- }

By: Guest | Date: Dec 8 2009 17:28 | Format: None | Expires: never | Size: 518 B | Hits: 911
Latest pastes
2 hours ago
2 hours ago
2 hours ago
3 hours ago
7 hours ago