I've had multiple apps in one web2py with no problems, of course, but only up to the point I've assigned different domains to different apps
I am on PythonAnywhere, but presumably it's the same issue on any hosting. I am giving 2 cnames for 2 apps, and I pointed both cnames properly. BUT only one domain works for bare domain - i.e. for www.domain1.com . For the second name I always have to specify the full path -www.domain2.com//app/cont/func. I am obviously missing something, but here is why I have this problem: they all share one routes.py on the web2py root level. routes.py can only have one entry corresponding to "/" - I can point "/" to app1/cont1/func1. So, www.domain2.com can't be handled without a/c/f , because no matter what the domain is, the only proper entry for the bare domain name is "/" in routes.py. How to handle this properly, i.e. to specify routing for each domain root - without having the 2nd web2py installation? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/86a1e4b8-90df-4a81-b554-478d193bbaea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.