From 3acd98b040517cae680c8ca4273c0613f8af82ce Mon Sep 17 00:00:00 2001 From: aszlig <aszlig@redmoonstudios.org> Date: Wed, 17 Oct 2012 15:21:32 +0200 Subject: [PATCH] apache-httpd: Add unixd for 2.4, needed by "User". Beginning with 2.4 mod_unixd is needed to supply Unix usernames and groups for the web server. For details please have a look at: http://httpd.apache.org/docs/2.4/upgrading.html#commonproblems Signed-off-by: aszlig <aszlig@redmoonstudios.org> --- modules/services/web-servers/apache-httpd/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/web-servers/apache-httpd/default.nix b/modules/services/web-servers/apache-httpd/default.nix index b70ed3933aaf..05fada720ba7 100644 --- a/modules/services/web-servers/apache-httpd/default.nix +++ b/modules/services/web-servers/apache-httpd/default.nix @@ -114,7 +114,10 @@ let "vhost_alias" "negotiation" "dir" "imagemap" "actions" "speling" "userdir" "alias" "rewrite" "proxy" "proxy_http" ] - ++ optional (!versionOlder httpd.version "2.4") "mpm_${mainCfg.multiProcessingModule}" + ++ optionals (!versionOlder httpd.version "2.4") [ + "mpm_${mainCfg.multiProcessingModule}" + "unixd" + ] ++ (if mainCfg.multiProcessingModule == "prefork" then [ "cgi" ] else [ "cgid" ]) ++ optional enableSSL "ssl" ++ extraApacheModules;