2016-08-19 19 views
0

我的网站已被https保护。 我想打只页面不安全像 www.mysite.com/fafoo我的网站是https,现在我想包括是http的iframe,所以我怎样才能使一个网页只有http从https。

Background: My site is wordpress and i am using bellow codes in htaccess 
RewriteCond %{HTTPS} off 
# First rewrite to HTTPS: 
# Don't put www. here. If it is already there it will be included, if not 
# the subsequent rule will catch it. 
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 
# Now, rewrite any request to the wrong domain to use www. 
RewriteCond %{HTTP_HOST} !^www\. 
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

我的目标是使用不安全的网站在iframe中

回答

相关问题