On 15 Jun 2011, at 22:11, Wade Preston Shearer wrote:

> Internet Explorer freaks out when loading http assets on an https page. Is 
> there any way around besides encrypting everything? It seems like such a 
> waste to encrypt images and video files.
> 

In my experience, the problem comes from using full URLs which include the 
protocol.  If you can, use relative URLs.  In other words, this path is 
requesting the image be retrieved specifically using HTTP, thus unencrypted.

<img src="http://domain.name/img/filename.jpg"; />

Whereas, if you use:

<img src="/img/filename.jpg" />

The file will be retrieved using whatever protocol the page was requested as.  
Thus, no warnings.

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to