1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @name %>
5 ServerAdmin postmaster@openstreetmap.org
7 CustomLog /var/log/apache2/<%= @name %>-access.log combined
8 ErrorLog /var/log/apache2/<%= @name %>-error.log
10 RedirectPermanent / https://<%= @name %>/
14 ServerName <%= @name %>
15 ServerAdmin postmaster@openstreetmap.org
20 CustomLog /var/log/apache2/<%= @name %>-access.log combined
21 ErrorLog /var/log/apache2/<%= @name %>-error.log
26 DocumentRoot <%= @directory %>
30 RewriteCond %{HTTP_REFERER} www\.mailbait\.info
33 RedirectMatch ^/$ /listinfo
34 RedirectMatch ^/cgi-bin/mailman/(.*)$ /$1
36 <Directory /var/lib/mailman/archives/>
37 Options Indexes FollowSymLinks
41 Alias /pipermail/ /var/lib/mailman/archives/public/
42 Alias /images/ /usr/share/images/mailman/
44 ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
45 ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
46 ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
47 ScriptAlias /create /usr/lib/cgi-bin/mailman/create
48 ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
49 ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
50 ScriptAlias /options /usr/lib/cgi-bin/mailman/options
51 ScriptAlias /private /usr/lib/cgi-bin/mailman/private
52 ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
53 ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
54 ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
55 ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
57 <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009)">
59 ExpiresDefault "access plus 180 days"