Add Debian directory
[mspang/vmailman.git] / debian / contrib / apache.conf
1 # Sample configuration for Debian mailman with Apache
2
3 # We can find mailman here:
4 ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
5 # And the public archives:
6 Alias /pipermail/ /var/lib/mailman/archives/public/
7 # Logos:
8 Alias /images/mailman/ /usr/share/images/mailman/
9
10 # Use this if you don't want the "cgi-bin" component in your URL:
11 # In case you want to access mailman through a shorter URL you should enable
12 # this:
13 #ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
14 # In this case you need to set the DEFAULT_URL_PATTERN in
15 # /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
16 # authentication code to work.  Note that you need to change the base
17 # URL for all the already-created lists as well.
18
19 <Directory /usr/lib/cgi-bin/mailman/>
20     AllowOverride None
21     Options ExecCGI
22     AddHandler cgi-script .cgi
23     Order allow,deny
24     Allow from all
25 </Directory>
26 <Directory /var/lib/mailman/archives/public/>
27     Options Indexes FollowSymlinks
28     AllowOverride None
29     Order allow,deny
30     Allow from all
31 </Directory>
32 <Directory /usr/share/images/mailman/>
33     AllowOverride None
34     Order allow,deny
35     Allow from all
36 </Directory>
37
38
39 ## The following describes how to configure mailman on
40 ## a dedicated virtual host, courtesy Marco d'Itri.
41
42 # Add these lines in /etc/mailman/mm_cfg.py:
43 #DEFAULT_EMAIL_HOST = 'lists.example.net'
44 #DEFAULT_URL_HOST = 'lists.example.net'
45 #DEFAULT_URL_PATTERN = 'http://%s/'
46
47 #<VirtualHost *>
48 #ServerName lists.example.net
49 #DocumentRoot /var/www/lists
50 #ErrorLog /var/log/apache2/lists-error.log
51 #CustomLog /var/log/apache2/lists-access.log combined
52 #
53 #<Directory /var/lib/mailman/archives/>
54 #    Options Indexes FollowSymLinks
55 #    AllowOverride None
56 #</Directory>
57 #
58 #Alias /pipermail/ /var/lib/mailman/archives/public/
59 #Alias /images/mailman/ /usr/share/images/mailman/
60 #ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
61 #ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
62 #ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
63 #ScriptAlias /create /usr/lib/cgi-bin/mailman/create
64 #ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
65 #ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
66 #ScriptAlias /options /usr/lib/cgi-bin/mailman/options
67 #ScriptAlias /private /usr/lib/cgi-bin/mailman/private
68 #ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
69 #ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
70 #ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
71 #ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
72 #</VirtualHost>
73