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.conf16
1 files changed, 12 insertions, 4 deletions
diff --git a/modules/sympa/templates/webapp_sympa.conf b/modules/sympa/templates/webapp_sympa.conf
index b920a8f1..1a508199 100644
--- a/modules/sympa/templates/webapp_sympa.conf
+++ b/modules/sympa/templates/webapp_sympa.conf
@@ -1,8 +1,16 @@
<Directory <%= lib_dir + "/sympa/cgi" %> >
- Options ExecCGI
- AddHandler fastcgi-script .fcgi
+ SetHandler fcgid-script
+ Options +ExecCGI
+ AddHandler cgi-script .fcgi
DirectoryIndex wwsympa-wrapper.fcgi
- Order allow,deny
- Allow from all
+ <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>