]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/templates/default/apache.erb
Rebuild assets when the configuration changes
[chef.git] / cookbooks / mailman / templates / default / apache.erb
index 7e40079622a42616d8c6109ce2cd366e5aa95238..2262c3fa280b4f19d68c921dcafebca51536c47b 100644 (file)
@@ -36,6 +36,7 @@
        <Directory /var/lib/mailman/archives/>
                Options Indexes FollowSymLinks
                AllowOverride None
+               Require all granted
        </Directory>
 
        Alias /pipermail/ /var/lib/mailman/archives/public/
@@ -54,7 +55,7 @@
        ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
        ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
 
-       <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009)">
+       <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014)">
                ExpiresActive On
                ExpiresDefault "access plus 180 days"
        </Location>