On Wednesday, April 18, 2018 at 2:13:24 PM UTC-4, kamala kotha wrote: > > routes_in = ( > ('/(?P<app>[\w]+)(?P<any>.*)', > '/myapp\g<any>?client=\g<app>'), > ) > > user will have to see the same url they had entered. > so how should i have the routes_out so that outgoing url is same as > incoming url. Is there a way to access the dynamic prefix entered by user > in the routes_out? > > routes_out = ('myapp(?P<any>.*)', outgoing url?? ) >
As Massimo noted, you won't be able to use routes_out for that, but you can get the complete originally request URL via request.env.web2py_original_uri. Anthony -- 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.