Hi benzrad,

Go ahead adding that code to your app.yaml. It works for my site on
GAE.

Few more informations:
* I put the canvas.html and rpc_relay.html on %AppHome%/media/ folder
* Add the following code at the begining of app.yaml. Make sure those
handles are registered **before** other python/django handlers
- url: /canvas.html
  static_files: media/canvas.html
  upload: media/canvas.html

- url: /rpc_relay.html
  static_files: media/rpc_relay.html
  upload: media/rpc_relay.html

* test on your local server. It should work. Then upload to GAE to
check the live gadget

On Jan 4, 10:12 am, benzrad <dab...@gmail.com> wrote:
> i tried the code, but it don't work on my app athttp://app21zh.appspot.com
> .in friend connect in the process to setup the site, it still reported
> can't find the 2 files, which i had place all over including static
> folder.
> i need more instruction.TIA.
>
> On Jan 1, 3:56 pm, "Shalin Shekhar Mangar" <shalinman...@gmail.com>
> wrote:
>
> > You can add them inside the "static" directory. You must also map them to
> > '/' (root) by adding the following in your app.yaml file.
>
> > - url: /canvas.html
> >   static_files: static/canvas.html
> >   upload: static/canvas.html
>
> > - url: /rpc_relay.html
> >   static_files: static/rpc_relay.html
> >   upload: static/rpc_relay.html
>
> > Hope that helps.
>
> > On Mon, Dec 29, 2008 at 7:21 AM, benzrad <dab...@gmail.com> wrote:
>
> > > dear sir,
> > > i also want to add google friend connect onto my GAE, but where
> > > directory should i place the 2 file google asked for uploading, ie.,
> > > canvas.html&rpc_relay.html ? i place them on the root folder of my
> > > app, also place them in the static folder with other html files, but
> > > neither working, ie, the setup process of google friend connect can't
> > > find them. where and how to setup in the py file to let the 2 html
> > > files can be found on root folder? i absolutely bland on python code,
> > > but i try to learn.p help me out.
>
> > --
> > Regards,
> > Shalin Shekhar Mangar.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to