Remove no-op DefaultType from apache config
authorJulien Cristau <jcristau@debian.org>
Wed, 12 Aug 2015 18:06:56 +0000 (20:06 +0200)
committerJulien Cristau <jcristau@debian.org>
Wed, 12 Aug 2015 18:06:56 +0000 (20:06 +0200)
apache 2.4 stopped respecting DefaultType.  Thanks, guys.

modules/roles/templates/static-mirroring/static-vhost.conf.erb
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index cc9ff05..6b857fc 100644 (file)
@@ -44,7 +44,6 @@
 
        Header set Surrogate-Key <%= hostname %>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 </Macro>
 
index af78385..97ed145 100644 (file)
@@ -108,7 +108,6 @@ Use common-static-vhost-with-extra security-team.debian.org "ServerAlias securit
                <% end -%>
        </Directory>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
        AddOutputFilter INCLUDES .xhtml
 </VirtualHost>