瀏覽代碼

htaccess fixe

Bachir Soussi Chiadmi 8 年之前
父節點
當前提交
12fe570fbd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .htaccess

+ 1 - 1
.htaccess

@@ -101,7 +101,7 @@ DirectoryIndex index.php index.html index.htm
   # (http://example.com/... will be redirected to http://www.example.com/...)
   # uncomment the following:
   RewriteCond %{HTTPS} off [OR]
-  RewriteCond %{HTTP_HOST} .
+  # RewriteCond %{HTTP_HOST} .
   RewriteCond %{HTTP_HOST} !^www\. [NC]
   # RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
   RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]