[web2py] Re: routes.py and root_static

2020-10-19 Thread Jose C
On Monday, 19 October 2020 10:33:50 UTC+1, Annet wrote: > > Hi Jose, > > Thanks for your reply. > > One more thing. I've got routes.py in web2py's root folder, as you can see > I've got > three applications, do I place the robots.txt file in all three > application's static > folder? > > Yes yo

[web2py] Re: routes.py and root_static

2020-10-19 Thread 'Annet' via web2py-users
Hi Jose, Thanks for your reply. One more thing. I've got routes.py in web2py's root folder, as you can see I've got three applications, do I place the robots.txt file in all three application's static folder? Kind regards, Annet Op vrijdag 16 oktober 2020 om 12:39:18 UTC+2 schreef Jose C:

[web2py] Re: routes.py and root_static

2020-10-16 Thread Jose C
> > > 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