Move domain decription to client side; add some more describers
[hcoop/domtool2.git] / src / plugins / apache.sml
index 64ebc7b..5e7e1f9 100644 (file)
@@ -890,4 +890,10 @@ val () = Env.action_two "setEnv"
 val () = Domain.registerResetLocal (fn () =>
                                       ignore (OS.Process.system (Config.rm ^ " -rf /var/domtool/vhosts/*")))
 
+val () = Domain.registerDescriber (Domain.considerAll
+                                  [Domain.Extension {extension = "vhost",
+                                                     heading = fn host => "Web vhost: " ^ host},
+                                   Domain.Extension {extension = "vhost_ssl",
+                                                     heading = fn host => "SSL web vhost: " ^ host}])
+
 end