diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-20 08:52:17 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-20 08:52:17 +0200 |
commit | f8ea0d7798a3f5741d8a22072fa0729585db3e1d (patch) | |
tree | 5f3f6184a3b4a3cbab1cfc2ca87f2b56ec1ac121 /modules/sympa/templates/webapp_sympa.conf | |
parent | 27c9954c52a4dac5a049ae7ad1b38db63131a162 (diff) | |
download | puppet-f8ea0d7798a3f5741d8a22072fa0729585db3e1d.tar puppet-f8ea0d7798a3f5741d8a22072fa0729585db3e1d.tar.gz puppet-f8ea0d7798a3f5741d8a22072fa0729585db3e1d.tar.bz2 puppet-f8ea0d7798a3f5741d8a22072fa0729585db3e1d.tar.xz puppet-f8ea0d7798a3f5741d8a22072fa0729585db3e1d.zip |
Fix use under apache 2.2
Diffstat (limited to 'modules/sympa/templates/webapp_sympa.conf')
-rw-r--r-- | modules/sympa/templates/webapp_sympa.conf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/sympa/templates/webapp_sympa.conf b/modules/sympa/templates/webapp_sympa.conf index 2bde74e2..dbaba342 100644 --- a/modules/sympa/templates/webapp_sympa.conf +++ b/modules/sympa/templates/webapp_sympa.conf @@ -3,5 +3,13 @@ AddHandler fastcgi-script .fcgi DirectoryIndex wwsympa-wrapper.fcgi - Require all granted + <IfModule mod_authz_core.c> + # Apache 2.4 + Require all granted + </IfModule> + <IfModule !mod_authz_core.c> + # Apache 2.2 + Order allow,deny + Allow from all + </IfModule> </Directory> |