Windows Disable: This Page Contains Both Secure And Nonsecure Items
windows disable: this page contains both secure and nonsecure items
windows, disable, this, page, contains, both, secure, and, nonsecure, items
Windows Disable: This Page Contains Both Secure And Nonsecure Items
Post Description: windows disable: this page contains both secure and nonsecure items
POST# 283
Posted On: Fri Feb 29, 2008 12:01 pm
pinguin
Topic: Windows Disable: This Page Contains Both Secure And Nonsecure Items
Sometimes when I visit some secured websites with https urls I keep getting this anoying popup window in Internet Explorer prompting me:

Securyt Informatin

This page contains both secure and nonsecure items:

Do you want to display the nonsecure items?

Yes No More Info

What can I do to get rid of this popup in my computer.

post picture

here is the answer:
I will show you how to get rid of this annoying popup window whenever you are visiting secured sites. Follow these steps that have been provided by Webune Support:

If you are a webmaster or have a website and your visitors are complaining to you about this error, visit this post by CLICKING HERE.

If you are a user, and what to get rid of the popup in your computer browser follow these instructions:

Step 1: Go to Tool >> Internet Options

post picture


Step 2: Select the "Security" Tab and then click on the "Custome Level" button

post picture

Step 3: Scroll down until you see the option: "Display mixed content". Sect the option "Enable"

post picture


Step 4: Click Ok, Then you will get a "Security Warning" pop-up. Click Yes

post picture


Step 5. Click Ok also on the "Interner Options" windown that's on your screen.


DONE: Now whenever you visit a secured wep page, you will not get the popup you were getting before.

Step by Step Tutorial Guide Provided by: Webune Support

http://www.webune.com

.


Fri Aug 04, 2006 6:04 pm
1
pinguin
Reply #811
thanks
Wed Nov 08, 2006 8:05 pm
2
pinguin
Reply #812
Solution: Fix for secure and nonsecure items warning message

I run a secure phpBB forum that ONLY operates on port 443, SSL is required or the connection is denied. My users started requesting the ability to post youtube and google videos within the post.

I installed the [2.0.19] Youtube Video BBCode and the [2.0.21] Google Video and everthing worked perfectly, until I tested the feature in my browser and got the following warning message:


     Quote:
This page contains both secure and nonsecure items.

Do you want to display the nonsecure items?


AHH! How annoying. So I went about looking for a workaround for this and finally came up with my own solution, that is very easy.

Open includesbbcode.php

Find
     Code:
// [email]user@domain.tld[/email] code..
$patterns[] = "#[email]([a-z0-9&-_.]+?@[w-]+.([w-.]+.)?[w]+)[/email]#si";
$replacements[] = $bbcode_tpl['email'];


After Add
     Code:
// [youtube]YouTube URL[/youtube] code..
$patterns[] = "#[youtube]http://(?:www.)?youtube.com/watch?v=([0-9A-Za-z-_]{11})[^[]*[/youtube]#is";
$replacements[] = $bbcode_tpl['youtube'];


// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#[GVideo]http://video.google.com/googleplayer.swf?docid=([0-9A-Za-z-_]*)[^[]*[/GVideo]#is";
$replacements[] = $bbcode_tpl['GVideo'];

// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#[GVideo]http://video.google.com/videoplay?docid=([0-9A-Za-z-_]*)[^[]*[/GVideo]#is";
$replacements[] = $bbcode_tpl['GVideo'];


Find
     Code:
$text = preg_replace($patterns, $replacements, $text);


After Add
     Code:
$text = str_replace("http://www.youtube.com/", "https://example.com/lounge/youtube/", $text);

$text = str_replace("http://video.google.com/videoplay", "https://example.com/lounge/googleplayer.swf", $text);
$text = str_replace("http://video.google.com/", "https://example.com/lounge/", $text);


Now heres the cool part, in your sites root web-accessible folder http://www.example.com/ add an .htaccess file with the following:


     Code:
RewriteEngine On
RewriteBase /
RewriteRule ^lounge/googleplayer.swf(.*)$ http://video.google.com/googleplayer.swf$1 [L]
RewriteRule ^lounge/youtube/(.*)$ http://www.youtube.com/$1 [L]


and it worked!



http://www.htaccesselite.com/htaccess/fix-for-secure-and-nonsecure-items-vt128.html
Wed Nov 15, 2006 12:58 am
3
pinguin
Reply #813
Thanks for this info. i need some clarifications on this.

In the below url, you have mentioned 'I basically did a str_replace on all posts text for http://video.google.com and http://youtube.com to change them to https://www.example.com/htaccess/ '.

Could you elaborate on this. Why do you change it to example.com etc...
Thanks.

http://www.htaccesselite.com/htaccess/fix-for-secure-and-nonsecure-items-vt128.html
Wed Dec 13, 2006 7:38 am
4
pinguin
Reply #814
Changing the "Display Mixed Content" setting in IE 7 did not work for me. Regardless of what I set it to, I still see the message "This page contains both secure and non-secure items".

So what can I do to get IE not to show me this message??
Wed Jan 17, 2007 6:35 pm
5
pinguin
Reply #815
[quote:1fa56dc810="sweetyt"]Thanks for this info. i need some clarifications on this.

In the below url, you have mentioned 'I basically did a str_replace on all posts text for http ://video.google.com and http ://youtube.com to change them to https ://www.example.com/htaccess/ '.

Could you elaborate on this. Why do you change it to example.com etc...
Thanks.

http ://www.htaccesselite.com/htaccess/fix-for-secure-and-nonsecure-items-vt128.html


Example.com is supposed to represent the url that the phpBB forum is hosted from. I didn't want to reveal the url of the site I was talking about.

This is elaborated on in much more detail at
http://www.askapache.com/2006/htaccess/mixed-ssl-content-warning-secure-fixed.html
Mixed SSL Content Warning Secure Fixed - AskApache
Thu Feb 08, 2007 3:21 am
6
brastic
Reply #816
congratulations, this is an execellent tutorial guide on showing how can i get rid of the this page contains both secure and nonsecure items warning
Sat May 19, 2007 1:51 am
7
vicky
Reply #817
helo
Thu Aug 16, 2007 10:48 am
8
Prasad
Reply #818
this is good solution for disable security information and it is useful for https urls.

thanks
prasad kr
Wed Sep 12, 2007 12:06 pm
9
botgurl
Reply #819
ms attributes this problem to iframe tags with no valid src attribute. worked when i referenced a blank html in iframe tags

support.microsoft /default.aspx?scid=kb;en-us;261188
Fri Sep 14, 2007 8:02 am
10
eric chavkin
Reply #820
exactly what i was looking for . thanks
Fri Nov 30, 2007 8:00 pm
11
Stella
Reply #821
i have been reserching the past 3 month how to get rid of this anoying pop up and thanks to your tutorial i finally got rid of...thank you very much
Tue Mar 18, 2008 7:51 am
12
Mahatab
Reply #822
thanks, my problem solved. i have successfully removed this security warning by placing src attribute value
Sun Mar 30, 2008 1:31 pm
13
Charlie
Reply #1791
I see that people are giving thanks to solving the following problem but I do not see where the fix is explained. "Windows Disable: This page contains both secure and nonsecure items"

I obviously do not have a great deal of computer knowledge. Can the fix be explained step by step to me. I have tried and set my security , Mis Display Mixed Content Is Enabled. Still the sam Pop Up on one of my bank web sites (Wachovia). Interestingly, I just started to receive this pop up. Thanks

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload