>From testing I can confirm the default_application can be set in the root 
routes.py but mapping files does not work. This needs to be done in 
app.yaml:

- url: /robots.txt
  static_files: applications/places/static/robots.txt
  upload: applications/places/static/robots.txt



On Thursday, August 28, 2014 3:08:36 PM UTC+2, Richard Penman wrote:
>
> Hello,
>
> how is the default app set on GAE?
> In routes.py I have "default_application = 'places'" but still redirects 
> to welcome.
>
> app.yaml states:
>     # Warning! Static mapping - below - isn't compatible with 
>     # the parametric router's language logic. 
>     # You cannot use them together.
> I have been using this for setting /robots.txt, /sitemap.xml, etc, so does 
> that disable routes.py?
>
> Also I noticed the default app.yaml now uploads the admin app - can admin 
> be used on GAE?
>
> Richard
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to