Commit 55963386 authored by nanahira's avatar nanahira Committed by GitHub

test redirect

parent d30d7988
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [R=301,QSA,NC,L]
RewriteCond %{HTTP:KERSSL} !on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^card/data/(\d+)/callback=(.*)$ card.html?id=$1&type=jsonp&callback=$2 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^card/data/(\d+)$ card.html?id=$1&type=json [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)/([^\.]+)$ $1.html?q=$2 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment