我有重定向的问题,并没有在整个网络上找到解决方案......
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 svgzRewriteEngine 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]
可能是问题是证书只适用于www版本而不适用于非www版本吗?Firefox认为这一点至关重要,而Chrome忽略了它吗?
谢谢您的帮助!
(很抱歉,我将文本标记为代码,但我没有足够的声誉来发布两个以上的链接 - 我正在努力!)