📌  相关文章
📜  htaccess 将 https 重定向到 http - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:14.283000             🧑  作者: Mango

代码示例6
RewriteEngine On 
RewriteCond %{HTTPS} !on 
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ 
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ 
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]