]> git.pld-linux.org Git - packages/mailman.git/blob - mailman.conf
multi apache version support
[packages/mailman.git] / mailman.conf
1 Alias /mailman/pipermail/ /var/lib/mailman/archives/public/
2
3 <Directory /var/lib/mailman/archives/public>
4         Options Indexes MultiViews FollowSymLinks
5         AllowOverride None
6         # Apache 2.x
7         <IfModule !mod_authz_core.c>
8                 Order allow,deny
9                 Allow from all
10         </IfModule>
11         # Apache 2.4
12         <IfModule mod_authz_core.c>
13                 Require all granted
14         </IfModule>
15 </Directory>
16
17 Alias /mailman/icons/ /usr/lib/mailman/icons/
18 <Directory /usr/lib/mailman/icons/>
19         AllowOverride None
20         # Apache 2.x
21         <IfModule !mod_authz_core.c>
22                 Order allow,deny
23                 Allow from all
24         </IfModule>
25         # Apache 2.4
26         <IfModule mod_authz_core.c>
27                 Require all granted
28         </IfModule>
29 </Directory>
30
31 ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
32
33 <Directory /usr/lib/mailman/cgi-bin/>
34         Options ExecCGI
35         AllowOverride None
36         AddHandler cgi-script .cgi
37         # Apache 2.x
38         <IfModule !mod_authz_core.c>
39                 Order allow,deny
40                 Allow from all
41         </IfModule>
42         # Apache 2.4
43         <IfModule mod_authz_core.c>
44                 Require all granted
45         </IfModule>
46
47 # Enable this section to use HTTP auth instead of adm.pw
48 # NOTE: you won't be able to authorize with list password anymore.
49 #       # Authorize as admin via HTTP auth
50 #       <Files ~ "(admin|admindb|create)">
51 #               # File based Authz
52 #          AuthUserFile /etc/webapps/mailman/htpasswd
53 #
54 #          # LDAP based Authz. Apache 1.3
55 #          <IfModule mod_auth_ldap.c>
56 #                  AuthLDAPEnabled on
57 #                  AuthLDAPURL ldap://localhost/ou=People,dc=example,dc=org?uid?sub?(objectClass=*)
58 #          </IfModule>
59 #
60 #          # LDAP based Authz. Apache 2.x
61 #               <IfModule authnz_ldap_module>
62 #                       AuthLDAPURL ldap://localhost/ou=People,dc=example,dc=org?uid?one
63 #                       AuthzLDAPAuthoritative off
64 #                       AuthBasicProvider ldap
65 #               </IfModule>
66 #
67 #               AuthType Basic
68 #               AuthName "MailMan"
69 #               Require valid-user
70 #       </Files>
71 </Directory>
72
73 # Uncomment the following line, replacing www.example.com with your server's
74 # name, to redirect queries to /mailman to the listinfo page (recommended).
75
76 # RedirectMatch ^/mailman[/]*$ http://www.example.com/mailman/listinfo
This page took 0.038591 seconds and 4 git commands to generate.