【问题标题】:mod_rewrite rule htaccess not working as expectedmod_rewrite 规则 htaccess 未按预期工作
【发布时间】:2019-03-15 10:18:50
【问题描述】:

我想要https://www.kita-neukoelln.tandembtl.de/https://kita-neukoelln.tandembtl.de/

它只适用于 chrome 和 IE11,有没有其他浏览器的方法? 他们在重定向之前检查 ssl 的 www.subdomain.domain.de :(

谢谢

 RewriteCond %{HTTP_HOST} ^www\.kita-neukoelln.tandembtl\.de$ [NC]
 RewriteRule (.*) https://kita-neukoelln.tandembtl.de/$1 [R=301,L]

【问题讨论】:

    标签: .htaccess mod-rewrite subdomain


    【解决方案1】:

    实际上,我尝试过的每个浏览器都会出现证书错误。

    问题,www.kita-neukoelln.tandembtl.de 是一个子域和*.tandembtl.de 的安全证书does not cover it

    *.example.net 的通配符 SSL 证书将匹配 sub.example.net 但不是 sub.sub.example.net。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-02-03
      • 1970-01-01
      • 1970-01-01
      • 2018-08-12
      • 2013-07-24
      • 2013-08-11
      • 1970-01-01
      • 2016-03-31
      相关资源
      最近更新 更多