basic internal ipv6 support
[hcoop/domtool2.git] / src / plugins / webalizer.sml
index c73ed98..51e76c6 100644 (file)
@@ -32,7 +32,7 @@ val () = Apache.registerPre
                                                                   name = id ^ ".wbl"}
                                   in
                                       TextIO.output (fd, "LogFile\t");
-                                      TextIO.output (fd, Apache.logDir {user = user, node = node, vhostId = hostname});
+                                      TextIO.output (fd, Apache.realLogDir {user = user, node = node, vhostId = hostname});
                                       TextIO.output (fd, "/access.log\nOutputDir\t");
                                       TextIO.output (fd, Config.Webalizer.outputDir);
                                       TextIO.output (fd, "/");
@@ -117,7 +117,7 @@ val () = Slave.registerFileHandler (fn fs =>
                                       end)
 
 val () = Domain.registerResetLocal (fn () =>
-                                      app (fn (node, _) =>
+                                      app (fn (node, _, _) =>
                                               ignore (OS.Process.system (Config.rm ^ " -rf "
                                                                          ^ Config.Webalizer.configDir ^ "/"
                                                                          ^ node ^ "/*"))) Config.nodeIps)