temowemo/temowemo.github.io/master/.htaccess - Htaccess File

temowemo/temowemo.github.io/master/.htaccess

<ifmodule mod_headers.c="">
  <filesmatch ".(js|css|xml|gz|html)$"="">
    Header append Vary: Accept-Encoding
  </filesmatch>
</ifmodule>

# compress text, html, javascript, css, xml:
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

RewriteEngine on

RewriteCond %{HTTP_HOST} ^151.101.40.133
RewriteRule (.*) https://temowemo.github.io/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www.temowemo.github.io$
RewriteRule ^/?$ "https://temowemo.github.io/" [R=301,L]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST

Comments

Apache