]> git.pld-linux.org Git - packages/mailman.git/blobdiff - mailman.conf
systemd and systemd-cronjobs support added
[packages/mailman.git] / mailman.conf
index 8211beed036e90789a503ff2c2c32bb4ce0d0b8c..8691236e57a24de0ca7c96b5fd949336b3989002 100644 (file)
@@ -3,13 +3,29 @@ Alias /mailman/pipermail/ /var/lib/mailman/archives/public/
 <Directory /var/lib/mailman/archives/public>
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
-       Allow from all
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
 </Directory>
 
 Alias /mailman/icons/ /usr/lib/mailman/icons/
 <Directory /usr/lib/mailman/icons/>
        AllowOverride None
-       Allow from all
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
 </Directory>
 
 ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
@@ -18,11 +34,20 @@ ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
        Options ExecCGI
        AllowOverride None
        AddHandler cgi-script .cgi
-       Allow from all
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
 
 # Enable this section to use HTTP auth instead of adm.pw
+# NOTE: you won't be able to authorize with list password anymore.
 #      # Authorize as admin via HTTP auth
-#      <Files admin>
+#      <Files ~ "(admin|admindb|create)">
 #              # File based Authz
 #         AuthUserFile /etc/webapps/mailman/htpasswd
 #
This page took 0.083656 seconds and 4 git commands to generate.