- 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 = ( "" )
- }
Undefined
By: Guest | Date: Dec 8 2009 17:28 | Format: None | Expires: never | Size: 518 B | Hits: 893
Latest pastes
50 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago