简体   繁体   English

apache 将 http 重定向到 https 不适用于 safari 和 chrome ios

[英]apache redirect http to https doesn't work with safari and chrome ios

i have apache installed on server with ssl certificate applied with conf file and this redirection setup:我在服务器上安装了 apache,其中 ssl 证书应用了 conf 文件和此重定向设置:

RewriteEngine on RewriteCond %{HTTP_HOST} ^mycare123\.com$ [NC] RewriteRule ^ https://www.mycare123.com%{REQUEST_URI} [R=301,L] Redirects works in windows ios chrome however not in ios ipad chrome,safari ios safari. Just keeps spinning until it says server stopped responding. RewriteEngine on RewriteCond %{HTTP_HOST} ^mycare123\.com$ [NC] RewriteRule ^ https://www.mycare123.com%{REQUEST_URI} [R=301,L] Redirects works in windows ios chrome however not in ios ipad chrome ,safari ios safari。一直旋转直到它说服务器停止响应。

If i .neterd full https variant of the URL it works.如果我 .neterd URL 的完整 https 变体,它就可以工作。 this is access log GET /wp-content/themes/mc/js/modernizr-3.7.1.min.js HTTP/1.1" 404 5617 "https://www.mycare123.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) App$这是访问日志GET /wp-content/themes/mc/js/modernizr-3.7.1.min.js HTTP/1.1" 404 5617 "https://www.mycare123.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) App$

This is TLS 1.3, searched but found no answer.这是 TLS 1.3,搜索过但没有找到答案。 my domain is www.mycare123.com我的域名是www.mycare123.com

the problem was local in ipad chrome and safaro and pc safari that clearing cashe didnt solve it问题出在 ipad chrome 和 safaro 以及 pc safari 中,清除现金并没有解决它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM