From: <abe...@us...> - 2013-07-16 13:45:43
|
Revision: 6137 http://sourceforge.net/p/astlinux/code/6137 Author: abelbeck Date: 2013-07-16 13:45:40 +0000 (Tue, 16 Jul 2013) Log Message: ----------- lighttpd, for fop2, implement its .htaccess cache control Modified Paths: -------------- branches/1.0/package/lighttpd/lighttpd.conf Modified: branches/1.0/package/lighttpd/lighttpd.conf =================================================================== --- branches/1.0/package/lighttpd/lighttpd.conf 2013-07-15 13:33:42 UTC (rev 6136) +++ branches/1.0/package/lighttpd/lighttpd.conf 2013-07-16 13:45:40 UTC (rev 6137) @@ -1,6 +1,7 @@ server.name = "@HOSTNAME@" server.modules = ( + "mod_setenv", "mod_access", "mod_accesslog", "mod_auth", @@ -149,4 +150,12 @@ @PHONEPROV@} @FOP2@alias.url += ( "/fop2/" => "/stat/var/packages/fop2/html/" ) +@FOP2@ +@FOP2@$HTTP["url"] =~ "^/fop2/" { +@FOP2@ setenv.add-response-header = ( +@FOP2@ "Cache-Control" => "private, pre-check=0, post-check=0, max-age=0", +@FOP2@ "Expires" => "0", +@FOP2@ "Pragma" => "no-cache" +@FOP2@ ) +@FOP2@} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |