aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/webapp_sympa.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/templates/webapp_sympa.conf')
-rw-r--r--modules/sympa/templates/webapp_sympa.conf10
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>