简体   繁体   English

将iframe中的页面从https加载到https时出现混合内容错误

[英]Errors of mixed content while loading page in iframe from https to https

I am trying to load page in iframe through https on https page, but get error of mixed content. 我正在尝试通过https页面上的https加载iframe中的页面,但是出现混合内容错误。 ( https://prnt.sc/h4qdir ) https://prnt.sc/h4qdir

The requested url 要求的网址

Error: 错误:

#

Mixed Content: The page at ' https://auto-dina.ru/purchase/finance/credit/calc/?back_url=~y7YDI&pl=Y&MODEL=touareg&COMP=touareg_v6&PRICE=3598500 ' was loaded over HTTPS, but requested an insecure resource ' http://cars.volkswagen.ru/credit/garant/touareg/?complect=touareg_v6&price=3598500&mode=iframe&view=no-form '. 混合内容:位于https://auto-dina.ru/purchase/finance/credit/calc/?back_url=~y7YDI&pl=Y&MODEL=touareg&COMP=touareg_v6&PRICE=3598500的页面已通过HTTPS加载,但请求了不安全的资源' http://cars.volkswagen.ru/credit/garant/touareg/?complect=touareg_v6&price=3598500&mode=iframe&view=no-form '。 This request has been blocked; 该请求已被阻止; the content must be served over HTTPS. 内容必须通过HTTPS提供。

#

I found that URL hadn't slash '/' after model code. 我发现在模型代码后,URL并未用斜杠“ /”表示。 Apparently, on requested site in .htaccess file rule for redirect to '/' is above https rule, or something like that. 显然,在.htaccess文件所请求的站点上,重定向到“ /”的规则高于https规则或类似规则。 In any case, adding slash in URL address solved my problem 无论如何,在网址中添加斜杠可以解决我的问题

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

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