* extraDirectores -> extraConfig.

svn path=/nixos/trunk/; revision=10731
This commit is contained in:
Eelco Dolstra 2008-02-18 15:00:26 +00:00
parent 8a1d362447
commit bbbef0f2fa
2 changed files with 6 additions and 5 deletions

View File

@ -55,7 +55,7 @@ let
"cern_meta" "expires" "headers" "usertrack" /* "unique_id" */ "setenvif"
"mime" "dav" "status" "autoindex" "asis" "info" "cgi" "dav_fs"
"vhost_alias" "negotiation" "dir" "imagemap" "actions" "speling"
"userdir" "alias" "rewrite"
"userdir" "alias" "rewrite" "proxy" "proxy_http"
] ++ optional cfg.enableSSL "ssl_module";
@ -193,6 +193,8 @@ let
}
${concatMapStrings (svc: svc.extraConfig) subservices}
${cfg.extraConfig}
'';

View File

@ -61,15 +61,14 @@
";
};
# !!! this is a mis-nomer, should be "extraConfig" or something.
extraDirectories = mkOption {
extraConfig = mkOption {
default = "";
example = "
example = ''
<Directory /home>
Options FollowSymlinks
AllowOverride All
</Directory>
";
'';
description = "
These lines go to httpd.conf verbatim. They will go after
directories and directory aliases defined by default.