1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-13 16:45:14 +01:00

comment out apache redirect rules which are handled by Cloudflare

This commit is contained in:
Matthias Kretschmann 2015-08-23 05:51:44 +02:00
parent c3d0732f97
commit b2d268f2ae

View File

@ -994,12 +994,12 @@ FileETag None
RewriteBase /
# throw everything onto https
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.kremalicious.com/$1 [R,L]
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://www.kremalicious.com/$1 [R,L]
# and remove wwww
RewriteCond %{HTTP_HOST} ^www\.kremalicious\.com [NC]
RewriteRule ^(.*)$ https://kremalicious.com/$1 [L,R=301]
# RewriteCond %{HTTP_HOST} ^www\.kremalicious\.com [NC]
# RewriteRule ^(.*)$ https://kremalicious.com/$1 [L,R=301]
# redirect all index.html to parent folder
RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC]