diskCache
authoradamch <adamch>
Sun, 16 Dec 2007 22:55:09 +0000 (22:55 +0000)
committeradamch <adamch>
Sun, 16 Dec 2007 22:55:09 +0000 (22:55 +0000)
lib/mod_cache.dtl [new file with mode: 0644]
src/plugins/apache.sml

diff --git a/lib/mod_cache.dtl b/lib/mod_cache.dtl
new file mode 100644 (file)
index 0000000..ed9bcfd
--- /dev/null
@@ -0,0 +1,6 @@
+{{Apache mod_cache}}
+
+extern val diskCache : location -> [Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/mod_cache.html#cacheenable">the
+  Apache documentation</a>; specifically, the case where the first parameter is
+  <tt>disk</tt>.}}
index 7b8f68e..11b4ab3 100644 (file)
@@ -971,6 +971,12 @@ val () = Env.action_two "setEnv"
                                                        | ch => str ch) value);
                              write "\"\n"))
 
+val () = Env.action_one "diskCache"
+        ("path", Env.string)
+        (fn path => (write "\tCacheEnable disk \"";
+                     write path;
+                     write "\"\n"))
+        
 val () = Domain.registerResetLocal (fn () =>
                                       ignore (OS.Process.system (Config.rm ^ " -rf /var/domtool/vhosts/*")))