it is interesting that not even the poeple who created the routes, nor the 
creator of web2py, doesn't have a clue how to redirect an app to another 
server.
maybe de logic behind the app is usefull?

vineri, 10 iulie 2015, 02:32:28 UTC+3, ari a scris:

> Hello!
>
> I have an web2py server with multiple apps. I want to redirect a specific 
> app to a new server
>
> Example:
> when i make the call
> http://name_of_the_server/app_name/default/index
>
> it will be redirected to:
> http://name_of_the_new_server/app_name/default/index
>
> i've tried the example from routes.example.py
> into the best case scenario, when i have some response: was only adding 
> into routes_in = ('BASE+/app_name/$anything'+
> http://name_of_the_new_server/app_name/default/index)
> but into the httpserver.log the entry is:
> 10.8.52.24, 2015-07-09 18:33:19, GET, 
> http://name_of_the_new_server/app_name/default/index, HTTP/1.1, 400, 
> 0.000000
>
> the other cases was: only routes_out, both set.
> Could you , please, help me with this. Thank you very much
>
>
>

-- 
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.

Reply via email to