X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/d441e69fed5d0cb98549b10aa66c2637499021da..edd380241e9ba2b750eb9a1f82ffd6feeab6252f:/src/plugins/apache.sml diff --git a/src/plugins/apache.sml b/src/plugins/apache.sml index f497825..4887043 100644 --- a/src/plugins/apache.sml +++ b/src/plugins/apache.sml @@ -208,7 +208,9 @@ val () = Env.containerV_one "vhost" file end) nodes; - write "\tSuexecUserGroup "; + write "\tServerName "; + write fullHost; + write "\n\tSuexecUserGroup "; write user; write " "; write group; @@ -362,4 +364,18 @@ val () = Env.action_one "unset_options" app (fn opt => (write " -"; write opt)) opts; write "\n")) +val () = Env.action_one "directoryIndex" + ("filenames", Env.list Env.string) + (fn opts => + (write "\tDirectoryIndex"; + app (fn opt => (write " "; write opt)) opts; + write "\n")) + +val () = Env.action_one "serverAlias" + ("host", Env.string) + (fn host => + (write "\tServerAlias "; + write host; + write "\n")) + end