Thanks Ian, I'll take a look. 2009/1/20 Ian Petersen <[email protected]>
> > On Mon, Jan 19, 2009 at 4:29 PM, lowecg2004 <[email protected]> > wrote: > > I was hoping to serve my GWT assets from an edge server which is > > configured under a subdomain of the main application's domain, let's > > call it static.mydomain.com. The container page is served from > > mydomain.com. Under this setup, I get the following message from > > Chrome: > > > > Unsafe JavaScript attempt to access frame with URL > http://mydomain.com/dashboard.seam > > from frame with URL > http://static.mydomain.com/0.1/gwt/7A2CD37ABF7C6082CA53749A0E5AAD38.cache.html > . > > Domains, protocols and ports must match. > > > > Is there anything I can do to get around this? Can GWT applications > > be served under these configurations? > > You're butting up against the Same Origin Policy (SOP). There's been > lots of discussion of the SOP on this list before so you should get a > lot of help by searching the history. You can run GWT apps in the > environment you're describing, but I think some choices you otherwise > have are eliminated. You should probably search the history and then > re-evaluate your decision. > > Ian > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
