From 3f84c976dad19bd32d8b4043e3da2d074e9fac40 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 11 Oct 2007 09:51:46 +0000 Subject: [PATCH 1/1] Add DAVLockDB line for every vhost --- src/plugins/apache.sml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/plugins/apache.sml b/src/plugins/apache.sml index 4cd9e82..f935549 100644 --- a/src/plugins/apache.sml +++ b/src/plugins/apache.sml @@ -431,6 +431,7 @@ val () = Env.containerV_one "vhost" TextIO.output (file, "."); TextIO.output (file, dom))) (Domain.currentAliasDomains ()); + if suexec then if isVersion1 node then (TextIO.output (file, "\n\tUser "); @@ -444,6 +445,7 @@ val () = Env.containerV_one "vhost" TextIO.output (file, group)) else (); + if isWaklog node then (TextIO.output (file, "\n\tWaklogEnabled on\n\tWaklogLocationPrincipal "); TextIO.output (file, user); @@ -451,6 +453,11 @@ val () = Env.containerV_one "vhost" TextIO.output (file, user)) else (); + + TextIO.output (file, "\n\tDAVLockDB /var/lock/apache2/dav."); + TextIO.output (file, user); + TextIO.output (file, "/DAVLock"); + (ld, file) end) nodes; -- 2.20.1