【发布时间】:2016-03-17 17:05:58
【问题描述】:
我遇到了重定向问题,并没有在整个网络上找到解决方案...
The right domain is: https://www.fit-for-easa.com
The following redirections DO work:
http://fit-for-easa.com to https://www.fit-for-easa.com
http://www.fit-for-easa.com to https://www.fit-for-easa.com
But the problem is with:
https://fit-for-easa.com
In Chrome it is forwarded correctly to https://www.fit-for-easa.com -
but not in Firefox what seems very strange to me.
Firefox shows ssl_error_bad_cert_domain.
这是我的 .htaccess 文件:
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://www.fit-for-easa.com%{REQUEST_URI} [L,R=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
问题是证书仅适用于www-Version而不适用于非www-Version吗?并且 Firefox 很重视这一点,而 Chrome 却忽略了它?
感谢您的帮助!
(对不起,我将文本标记为代码,但我没有足够的声誉发布两个以上的链接 - 我正在努力!)
【问题讨论】:
标签: .htaccess mod-rewrite ssl https no-www