kobake/unity-index/master/.htaccess - Htaccess File

kobake/unity-index/master/.htaccess

DirectoryIndex index.html.gz index.html

RewriteEngine on
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -s
RewriteRule .+ %{REQUEST_URI}.gz

<FilesMatch ".html.gz$">
  ForceType text/html
  AddEncoding x-gzip .gz
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache