diff options
author | Longrin Wischnewski <robberer@freakmail.de> | 2014-11-12 13:18:02 +0100 |
---|---|---|
committer | Longrin Wischnewski <robberer@freakmail.de> | 2014-11-12 13:18:02 +0100 |
commit | 490232bd2e288fb2b129ac49df5904631a2d2541 (patch) | |
tree | 0b5f8cbc92f6244f8fcc8a36faaf6032c6eb60cb /nixos | |
parent | 5aede825b9e28f71876b1098e6d79f5a41d71d1f (diff) | |
download | nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar.gz nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar.bz2 nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar.lz nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar.xz nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.tar.zst nixlib-490232bd2e288fb2b129ac49df5904631a2d2541.zip |
apache-httpd: add mod_access_compat for compatibility with old httpd-22 configurations
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-servers/apache-httpd/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 1f0729c1b715..5adfb8f0f96a 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" |