aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/vhost_ml.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/templates/vhost_ml.conf')
-rw-r--r--modules/sympa/templates/vhost_ml.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/sympa/templates/vhost_ml.conf b/modules/sympa/templates/vhost_ml.conf
index ad6b4400..11aa7ae5 100644
--- a/modules/sympa/templates/vhost_ml.conf
+++ b/modules/sympa/templates/vhost_ml.conf
@@ -2,13 +2,19 @@
RewriteRule ^/?$ /l/home [R]
RewriteRule ^/l$ /l/
RewriteRule ^/l/(.*)$ /wwsympa-wrapper.fcgi/$1
-
+
DocumentRoot <%= lib_dir + "/sympa/cgi" %>
Alias /static-sympa /var/lib/sympa/static_content
<Directory /var/lib/sympa/static_content>
- 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>
-