1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @name %>
5 ServerAdmin postmaster@openstreetmap.org
8 CustomLog /var/log/apache2/<%= @name %>-access.log combined
9 ErrorLog /var/log/apache2/<%= @name %>-error.log
14 DocumentRoot <%= @directory %>
18 RewriteCond %{HTTP_REFERER} www\.mailbait\.info
21 RedirectMatch ^/$ /listinfo
22 RedirectMatch ^/cgi-bin/mailman/(.*)$ /$1
24 <Directory /var/lib/mailman/archives/>
25 Options Indexes FollowSymLinks
29 Alias /pipermail/ /var/lib/mailman/archives/public/
30 Alias /images/ /usr/share/images/mailman/
32 ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
33 ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
34 ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
35 ScriptAlias /create /usr/lib/cgi-bin/mailman/create
36 ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
37 ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
38 ScriptAlias /options /usr/lib/cgi-bin/mailman/options
39 ScriptAlias /private /usr/lib/cgi-bin/mailman/private
40 ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
41 ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
42 ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
43 ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
45 <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009)">
47 ExpiresDefault "access plus 180 days"