瀏覽代碼

Remove www and https redirs in htaccess because webApp do it now

Gabriel Badano 4 年之前
父節點
當前提交
f425afe194
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      .htaccess

+ 0 - 12
.htaccess

@@ -4,18 +4,6 @@
 
 RewriteEngine on
 
-#RewriteCond %{HTTP_HOST} ^www\.dominio\.com$
-#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
-#RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
-#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
-#RewriteRule ^(.*)$ https://dominio.com/$1 [R=301,L]
-
-#RewriteCond %{HTTPS} !^on$
-#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
-#RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
-#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
-#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
 # if a directory or a file exists, use it directly
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d