If I assume you have full control of both domains, I would use nginx to map
domain1.com/$anything -> domain2/yourapp/yourcontroller/somefunction/$anything and then handle the mapping into somefunction. On Saturday, 3 November 2018 13:17:56 UTC-7, mweissen wrote: > > > I need a dynamic url masking > > (1) The user calls www.domain1.com/abcd > (2) abcd will be translated by a table lookup to xyz > (3) Now www.domain2.com/xyz should be called. > (4) The user sees the content of www.domain2.com/xyz, but with the > address www.domain1.com/abcd > > Is it possible to use routes.py for this purpose? Or someting else? > > Regards, Martin > > > > > > -- 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]. For more options, visit https://groups.google.com/d/optout.

