1 article
Wednesday, Feb 10, 2021
apache非www重定向到www和https的代码 需求就是,非www访问的自动重定向到www访问, 并且把http访问重定向到https,代码如下 RewriteEngine On RewriteCond %{HTTPHOST} ^youdomain.com$ NC RewriteRule . ...