Forums
View unanswered posts | View active topics It is currently Sun Sep 21, 2014 8:10 pm



Reply to topic  [ 3 posts ] 
 Access is denied to: http://static.example.com/pie/PIE.htc 
Author Message

Joined: Tue Oct 19, 2010 12:47 am
Posts: 2
Post Access is denied to: http://static.example.com/pie/PIE.htc
Hello, I am using nginx to serve up static files like css, js, images, etc.. at http://static.example.com/ and my main site is served on apache at http://example.com/
Both Apache and Nginx are running on the same server as of now.

When testing in IE 6,7,8 I get an Access is denied to: http://static.example.com/pie/PIE.htc

I believe this is a cross site scripting issue however I do not know how to fix this. Any suggestions.


Tue Oct 19, 2010 12:57 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: Access is denied to: http://static.example.com/pie/PIE.h
IE does not allow loading htc behavior files from a different domain than the requesting HTML page. There is no way around this that I know of.


Tue Oct 19, 2010 10:14 am
Profile

Joined: Tue Oct 19, 2010 12:47 am
Posts: 2
Post Re: Access is denied to: http://static.example.com/pie/PIE.h
Thanks Jason for the response. Also thanks for this great library. I've heard of an iframe hack that you can use for executing scripts from subdomains. I wonder if that will work? Would it be possible to embed the script directly in the HTML page somehow instead of calling PIE.htc?


Tue Oct 19, 2010 4:00 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Yahoo [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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.