gerisk8/theravenpoe/master/.htaccess - Htaccess File

gerisk8/theravenpoe/master/.htaccess

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
</IfModule>
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
</IfModule>
<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=Edge,chrome=1"
<FilesMatch ".(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webm|webp|woff|xml|xpi)$">
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
AddType application/javascript         js jsonp
AddType application/json               json
AddType     image/svg+xml              svg svgz
AddEncoding gzip                       svgz
AddType application/vnd.ms-fontobject  eot
AddType application/x-font-ttf         ttf ttc
AddType application/x-font-woff        woff
AddType font/opentype                  otf
AddType application/octet-stream            safariextz
AddType application/x-chrome-extension      crx
AddType application/x-opera-extension       oex
AddType application/x-shockwave-flash       swf
AddType application/x-web-app-manifest+json webapp
AddType application/x-xpinstall             xpi
AddType application/xml                     rss atom xml rdf
AddType image/webp                          webp
AddType image/x-icon                        ico
AddType text/cache-manifest                 appcache manifest
AddType text/vtt                            vtt
AddType text/x-component                    htc
AddType text/x-vcard                        vcf
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)s*,?s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml 
                application/javascript 
                application/json 
                application/rss+xml 
                application/vnd.ms-fontobject 
                application/x-font-ttf 
                application/xhtml+xml 
                application/xml 
                font/opentype 
                image/svg+xml 
                image/x-icon 
                text/css 
                text/html 
                text/plain 
                text/x-component 
                text/xml
</IfModule>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault                        "access plus 1 month"
ExpiresByType text/cache-manifest     "access plus 0 seconds"
ExpiresByType text/html               "access plus 0 seconds"
ExpiresByType application/json        "access plus 0 seconds"
ExpiresByType application/xml         "access plus 0 seconds"
ExpiresByType text/xml                "access plus 0 seconds"
ExpiresByType application/atom+xml    "access plus 1 hour"
ExpiresByType application/rss+xml     "access plus 1 hour"
ExpiresByType image/x-icon            "access plus 1 week"
ExpiresByType audio/ogg               "access plus 1 month"
ExpiresByType image/gif               "access plus 1 month"
ExpiresByType image/jpeg              "access plus 1 month"
ExpiresByType image/png               "access plus 1 month"
ExpiresByType video/mp4               "access plus 1 month"
ExpiresByType video/ogg               "access plus 1 month"
ExpiresByType video/webm              "access plus 1 month"
ExpiresByType text/x-component        "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf  "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/opentype           "access plus 1 month"
ExpiresByType image/svg+xml           "access plus 1 month"
ExpiresByType application/javascript  "access plus 1 year"
ExpiresByType text/css                "access plus 1 month"
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control "no-transform"
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
<IfModule mod_headers.c>
Header set Connection Keep-Alive
</IfModule>
AddDefaultCharset utf-8
AddCharset utf-8 .atom .css .js .json .rss .vtt .xml
Options -MultiViews
ErrorDocument 404 /404.html

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, HTTPS, REQUEST_URI

Comments

Apache