Documentation about parametric system is VERY bad and doesnt describe its 
abilities in. But because it's stated that parametric systems should be 
suffcient for all i assume somewhere i can find how to implement my 
solution.

For example is it able to do redirect from "/smth" which is view smth.html 
to controller "another.py" ?
I could not find any example of such case.

четверг, 15 февраля 2018 г., 18:14:48 UTC+3 пользователь Anthony написал:
>
> If the type of routing you want to do cannot be accommodated by the 
> parameter-based system, you will have to use the pattern-based system (see 
> the book section for details on how it works).
>
> Anthony
>
> On Thursday, February 15, 2018 at 9:05:16 AM UTC-5, Scorpa wrote:
>>
>> Then how actually re-route inside the app ?
>>
>> четверг, 15 февраля 2018 г., 16:56:13 UTC+3 пользователь Anthony написал:
>>>
>>> The domains must be in the form of host:port -- it does not support any 
>>> path after the port.
>>>
>>> Anthony
>>>
>>> On Thursday, February 15, 2018 at 8:24:59 AM UTC-5, Scorpa wrote:
>>>>
>>>> Hello guys!
>>>>
>>>>
>>>> How to route some path to specific controller ?
>>>>
>>>> For example, i have this in routes.py:
>>>>
>>>> routers = dict(
>>>>
>>>>     # base router
>>>>     BASE=dict(
>>>>         domains={
>>>>             'et.mooo.com:8000': 'sd/sea',
>>>>             '127.0.0.1:8000/.we': 'sd/seb',
>>>>             '127.0.0.1:8000/we': 'sd/sec',
>>>>         },
>>>>         default_application='menu_db',
>>>>
>>>>     ),
>>>> )
>>>>
>>>> routes_onerror = [
>>>>     (r'init/400', r'/err/err')
>>>>     , (r'init/*', r'/err/err')
>>>>     , (r'*/404', r'/err/err')
>>>>     , (r'*/*', r'/err/err')
>>>> ]
>>>>
>>>>
>>>>
>>>> Evryhing works fine with erros and default app but web2py complety ignores 
>>>> "domains" part.
>>>>
>>>>
>>>> How to fix this issue ?
>>>>
>>>>

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