I'm having an issue where I don't fully understand how to implement the solution given here (https://groups.google.com/d/msg/web2py/WefCd9O8tLI/io3gWEK3FgAJ) for having the multitenant domain come after the website URL.
I get an invalid function error when I attempt to go to any such URL, eg: "https://example.com/tenant/default/whatever" I feel like I'm missing something. I suspect the difficulty is in my routes file, listed below: routers = dict( BASE = dict( default_application='myapp', ) routes_in = [['/$domain','/myapp/default/index/$domain'], ['/$domain/$c','/myapp/$c/index/$domain'], ['/$domain/$c/$f','/myapp/$c/$f/$domain'], ['/$domain/$c/$f/$anything','/myapp/$c/$f/$domain/$anything']] routes_out = [(a,b) for (b,a) in routes_in] Any ideas? Thanks in advance. -- 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.