From 9b26598c0416b1a05dd0c9d434abad023122eb38 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Dec 2016 17:08:48 +0200 Subject: [PATCH] htaccess --- .htaccess | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+), 0 deletions(-) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..cd68844 --- /dev/null +++ b/.htaccess @@ -0,0 +1,22 @@ +AddDefaultCharset utf-8 + + + AddOutputFilterByType DEFLATE text/plain + AddOutputFilterByType DEFLATE text/html + AddOutputFilterByType DEFLATE text/xml + AddOutputFilterByType DEFLATE text/css + AddOutputFilterByType DEFLATE application/xml + AddOutputFilterByType DEFLATE application/xhtml+xml + AddOutputFilterByType DEFLATE application/rss+xml + AddOutputFilterByType DEFLATE application/javascript + AddOutputFilterByType DEFLATE application/x-javascript + BrowserMatch ^Mozilla/4 gzip-only-text/html + BrowserMatch ^Mozilla/4\.0[678] no-gzip + BrowserMatch \bMSIE !no-gzip !gzip-only-text/html + Header append Vary User-Agent + RewriteEngine On + AddEncoding gzip .gz + RewriteCond %{HTTP:Accept-encoding} gzip + RewriteCond %{REQUEST_FILENAME}.gz -f + RewriteRule ^(.*)$ $1.gz [QSA,L] + \ No newline at end of file -- libgit2 0.21.4