You need put a static file in a static dir, just like this:
- url: /robots.txt       # Note: you can change its path
  static_files: static/robots.txt
  upload: static/robots.txt

- url: /static
  static_dir: static

And put your robots.txt in the "static" folder.

2009/4/13 Nora <noorhanab...@yahoo.co.uk>

>
> Hello,
> I want my application to be indexed by the google crawler quickly.  I
> used the automatic sitemap generator to produce one.  I copied my
> sitemap.xml to my account and added a static handler in my app.yaml
> file.
>
> - url: /
>  static_files: sitemap.xml
>  upload: sitemap.xml
>
>
> But still I get the  (404 error) file not found.... Does anyone have a
> clue why this is taking place?
>
> Thank you very much.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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