Yup, got it. It's only for a local machine, IIS doesn't seem to have something 
like virtual hosts like what Apache does. Well, you can have multiple domains. 
But then again I'm not an IIS expert. 

Yeah, those XSS's are nasty.

-----Original Message-----
From: Chris Chabot [mailto:chab...@google.com] 
Sent: Sunday, 19 April, 2009 5:39 PM
To: shindig-dev@incubator.apache.org
Subject: Re: running shindig with a prefix

There's a few url configuration you'll have to modify in
shindig/config/container.js:

"gadgets.iframeBaseUri" : "/gadgets/ifr",
"gadgets.jsUriTemplate" : "http://%host%/gadgets/js/%js%";,
"gadgets.osDataUri" : "http://%host%/social/rpc";,
"path" : "http://%host%/social";,
"rpcUrl" : "http://%host%/social";
"parentRelayUrl" : "/gadgets/files/container/rpc_relay.html", (this is on
the parent aka the container)

in your case you should change all of those to read /shindig/{rest of the
path}

Do keep in mind that while running shindig and partuza on the same host name
(localhost) is fine for development work, in a production env you *really*
want the 2 to be on different domain names since the browsers cross domain
policy is the basis of the gadget sand-boxing. If their left on the same
domains, there's nothing to stop a gadget from performing any kind of action
on the container (changing passwords, spamming, installing javascript based
worms, etc).

    -- Chris

On Sun, Apr 19, 2009 at 10:17 AM, Sean Lin <seanli...@gmail.com> wrote:

>  Hi,
>
>   I take it that in order to get shindig running under a web prefix like
> http://localhost/shindig, I will need to go through container.js and add
> the prefix manually?
>
>
>
> While running
> http://localhost/shindi/gadgets/files/samplecontainer/samplecontainer.html,
> firebug is reporting the following error in core:rpc?debug=1 (line 98)
>
>
>
> Access to restricted URI denied" code: "1012
>
>
> xhr.open(method,proxyUrl,true);if(callba...eFunction,realUrl,callback,params,xhr);}
>
>
>
>
>
> Cheers,
>
> Sean
>

Reply via email to