CSS3 PIE Forums
http://css3pie.com/forum/

IE7 "Access denied" with https ssl
http://css3pie.com/forum/viewtopic.php?f=3&t=1743
Page 1 of 1

Author:  Boris111 [ Wed Aug 08, 2012 7:52 am ]
Post subject:  IE7 "Access denied" with https ssl

Hello,

I have error in IE7 that tells that access denied to http://<url>/pie.htc when I access using https. If I use in css "url(https://<url>/js/PIE.php)" instead of just "url(js/PIE.php)" then error disappears but it stop working by http. I'd like to have css file that work both on http and https. Is there a way to do this?

Author:  jason [ Wed Aug 08, 2012 3:20 pm ]
Post subject:  Re: IE7 "Access denied" with https ssl

Omit the protocol and it will use the protocol of the current page.

behavior: url(//<url>/js/PIE.php);

See http://paulirish.com/2010/the-protocol-relative-url/

Author:  jason [ Wed Aug 08, 2012 3:21 pm ]
Post subject:  Re: IE7 "Access denied" with https ssl

...or just a root-relative url:

behavior: url(/path/to/PIE.htc);

Author:  Boris111 [ Wed Aug 08, 2012 10:53 pm ]
Post subject:  Re: IE7 "Access denied" with https ssl

Using //<url>/js/pie.htc and /js/pie.htc has same effect - http://clip2net.com/s/2bP3Z

Author:  jason [ Thu Aug 09, 2012 9:54 am ]
Post subject:  Re: IE7 "Access denied" with https ssl

Do you have any other scripts or polyfills on your page that might be rewriting the behavior url to add http onto it? What does IE's web inspector show you for the value of the behavior property? Have you used a proxy like Fiddler to see what http requests are being made?

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/