<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/
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
#