From 490232bd2e288fb2b129ac49df5904631a2d2541 Mon Sep 17 00:00:00 2001 From: Longrin Wischnewski Date: Wed, 12 Nov 2014 13:18:02 +0100 Subject: [PATCH] apache-httpd: add mod_access_compat for compatibility with old httpd-22 configurations --- nixos/modules/services/web-servers/apache-httpd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 1f0729c1b71..5adfb8f0f96 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -98,6 +98,9 @@ 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"