I have my gadgets server running at 8080 port and container code at /ABC/gadgets/ (port 80),
But when I run my test pages, in my gadget, It is searching for RPC file at http://localhost/gadgets/files/container/rpc_relay.html as my container is running at port 80. But the file is located at: http://localhost:8080/gadgets/files/container/rpc_relay.html. I would like to change this path and relocate it to http://localhost/ABC/gadgets/rpc_relay.html. How can I do it? How can I know the rpctokens are correct? Are there any settings? Sorry, I don't have knowledge on these tokens. On Mon, Jun 9, 2008 at 10:45 AM, Kevin Brown <[EMAIL PROTECTED]> wrote: > On Sun, Jun 8, 2008 at 10:02 PM, Neo Anderson < > [EMAIL PROTECTED]> > wrote: > > > Is there any way to relocate the path of rpc_relay.html file when Gadgets > > server and container on different ports? > > > > I changed the file config/container.js parentRelayUrl variable, but no > use. > > > This value is appended to whatever you're passing in for the "parent" query > string variable as well. Make sure that this is a valid path. > > > > > > So, I placed the file in the folder where my gadgets server is looking > for > > that file( which I don't want to do). This time I am getting "Invalid > auth > > token" error...? > > > You need to make sure that you're sending an appropriate rpctoken as well > as > a security token (st) parameter. The former is a simple, fast sanity check > on rpc calls. The latter is used for gadget to server request validation. >

