>
>
> BASE = dict(
> domains = { },
> root_static = ['favicon.ico', 'robots.txt'],
> ),
> )
>
> would this be correct?
>
> Should robots.txt go into the /applications/init/static/
>
Yep, any files served at the root of your site (e.g.
https://mydomain.com/robots.txt) go in the /static directory of your app
and then you specify them in the root_static list as you've done.
Reminder, you need to restart your app each time you change anything in
routes.py for the new changes to take effect.
Jose
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/b818de18-2dd2-4859-85a7-d12a7f52960bo%40googlegroups.com.