From cfe26e4438ec1a3cfa37b22eb95f3430190b7c07 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 15 Dec 2014 13:04:33 +0100 Subject: Fix using Apache httpd 2.2 --- nixos/modules/services/web-servers/apache-httpd/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 5adfb8f0f96a..d5a57eddd5e7 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -98,9 +98,6 @@ let # Authorization: is the user allowed access? "authz_user" "authz_groupfile" "authz_host" - # For compatibility with old configurations, the new module mod_access_compat is provided. - (if version24 then "access_compat" else "") - # Other modules. "ext_filter" "include" "log_config" "env" "mime_magic" "cern_meta" "expires" "headers" "usertrack" /* "unique_id" */ "setenvif" @@ -115,6 +112,8 @@ let "cache" "cache_disk" "slotmem_shm" "socache_shmcb" + # For compatibility with old configurations, the new module mod_access_compat is provided. + "access_compat" ] ++ (if mainCfg.multiProcessingModule == "prefork" then [ "cgi" ] else [ "cgid" ]) ++ optional enableSSL "ssl" -- cgit 1.4.1