]> git.quilime.com - quilime.com.git/blob - .htaccess
Add Makefile
[quilime.com.git] / .htaccess
1 Options +FollowSymLinks -MultiViews
2 RewriteEngine On
3 RewriteBase /
4
5 RewriteCond %{HTTPS} !=on
6 RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
7 Header always set Content-Security-Policy "upgrade-insecure-requests;"
8
9 RewriteCond %{REQUEST_FILENAME} !-f
10 RewriteCond %{REQUEST_FILENAME} !-d
11 RewriteCond %{REQUEST_FILENAME}\.html -f
12 RewriteRule ^(.*)$ $1.html [L]
13
14 RewriteCond %{THE_REQUEST} ^(?:GET|POST)\ /.*\.html\ HTTP.*$ [NC]
15 RewriteRule ^(.*)\.html$ $1 [R=301,L]