Forums
View unanswered posts | View active topics It is currently Sat Dec 20, 2014 5:42 pm



Reply to topic  [ 5 posts ] 
 IE7 "Access denied" with https ssl 
Author Message

Joined: Wed Aug 08, 2012 7:43 am
Posts: 2
Post 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?


Wed Aug 08, 2012 7:52 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1448
Post 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/


Wed Aug 08, 2012 3:20 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1448
Post Re: IE7 "Access denied" with https ssl
...or just a root-relative url:

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


Wed Aug 08, 2012 3:21 pm
Profile

Joined: Wed Aug 08, 2012 7:43 am
Posts: 2
Post Re: IE7 "Access denied" with https ssl
Using //<url>/js/pie.htc and /js/pie.htc has same effect - http://clip2net.com/s/2bP3Z


Wed Aug 08, 2012 10:53 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1448
Post 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?


Thu Aug 09, 2012 9:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.