Hello all.

I'm just curious to know how is it possible to use root_static in a 
routes.py file.

I'saw things like that :
root_static = ['favicon.ico', 'robots.txt', 'sitemap.txt']

Where file must be placed into the static folder.
But for example favicon.ico is by default in the static/images folder, and 
this file is called by layout.html.
Do I have to duplicate favicon.ico in the static folder ?

Here is my actual routes.py:
routers = dict(
 BASE = dict(
        domains = {
 "www.myfirstsite.it" : "myfirstapp",
 "www.mysecondsite.it": "mysecondapp",
 }
 ),
 myfirstapp = dict(languages=['en', 'it'], default_language='it'),
 mysecondapp = dict(languages=['en', 'it'], default_language='it')
)


How can I set  root_static for each app ?

Thanks.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to