SOP basically says that the GWT app can only talk to the domain from where it was served. With that in mind, I think you have two options:
1. Configure the web server for your primary domain to proxy your GWT requests to your sub-domain - mod_proxy for Apache will achieve this; or 2. Simply serve the page containing your GWT app from www.gwt.mysite.org. That could be either a full redirect to that server, or maybe even serve a static HTML file + GWT app from www.gwt.mysite.org into an iframe of the main site. The latter suggestion is not pretty, but might work for you. I hope that helps, Chris. On Sep 11, 4:17 pm, Hlunboi <hlungu...@gmail.com> wrote: > I have access restriction to the whole site. my application should run only > fromwww.gwt.mysite.org. Is there any solution for accessing through sub > domain. > -hlunboi > > On Fri, Sep 11, 2009 at 8:09 PM, Jason Essington > <jason.essing...@gmail.com>wrote: > > > > > That violates SOP (Same Origin Policy) so your browser won't let it happen. > > you would have to load your host page from that site to allow RPC to > > connect. > > > XMLHTTPRequests (of which RPC is) must connect to the same host, port and > > protocol from which the host page was loaded. > > > -jason > > > On Sep 10, 2009, at 11:28 PM, Hlunboi wrote: > > > Hi > > > I want to deploy my GWT RCP application in subdomain of my website. > > Example: I have a websitewww.mysite.organd would like to deploy my GWT > > so that i can access using my subdomainwww.gwt.mysite.org > > > Could someone explain how to deploy in a subdomain? > > > Regards > > Hlun --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---