From 79ac451b4aa7ee42557bb9a5f862c2e3646062f7 Mon Sep 17 00:00:00 2001 From: Nick Sellen Date: Sun, 16 Dec 2018 10:05:32 +0000 Subject: [PATCH] Remove htaccess in favour of .htaccess No longer need workaround --- .htaccess | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 40ad23a..cf6e57c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,13 +1,15 @@ # Serve .html files without extensions Options +MultiViews # If a SVG and a PNG exists the prefer the SVG -AddType image/svg+xml;qs=0.9 svg +AddType image/svg+xml;qs=0.9 svg sgvz AddType image/png;qs=0.8 png # Work around Apache bug from 2002 # https://bz.apache.org/bugzilla/show_bug.cgi?id=53595 # https://kevinlocke.name/bits/2012/07/20/serving-xhtml-with-apache-multiviews/ Header always edit "Content-Type" ";\s*qs=[0-9]*(?:\.[0-9]+)?\s*" "" - -AddOutputFilter DEFLATE svg +# Gzip these file types +AddOutputFilter DEFLATE html +AddOutputFilter DEFLATE svg AddOutputFilter DEFLATE css AddOutputFilter DEFLATE js +