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