Skip to content

Commit f1818dd

Browse files
committed
redirect https to http.
1 parent 3e80d17 commit f1818dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ RewriteRule (.+)\.md /
66

77
AddType 'application/x-font-woff' .woff
88

9+
# HTTPS to HTTP
10+
RewriteCond %{HTTPS} on
11+
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
12+
913
# BEGIN GZIP
1014
<ifmodule mod_deflate.c>
1115
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/x-font-woff application/octet-stream

0 commit comments

Comments
 (0)