Re: [web2py] Re: help on routes

2011-09-28 Thread Bruno Rocha
How can I have this behavior now?

I want

pythonbrasil.web2py.com.br/index  /otherfunction  /appadmin

but I want to keep admin working...


Re: [web2py] Re: help on routes

2011-09-28 Thread Jonathan Lundell
On Sep 28, 2011, at 9:09 PM, Bruno Rocha wrote:

> I am sure something have changed on this,
> I used this same setup before and worked well..
> 
> works here: www.serafimnatural.com.br (web2py 1.82.x)
> 
> but not here: pythonbrasil.web2py.com.br
> 
> ---
> default_application = 'init'# ordinarily set in base routes.py
> default_controller = 'default'  # ordinarily set in app-specific routes.py
> default_function = 'index'  # ordinarily set in app-specific routes.py
> 
> 
> routers = dict(
> 
> # base router
> BASE = dict(
> default_application = 'init',
> domains = {
> 'pythonbrasil.web2py.com.br' : 'pytalks',
> 'talks.python.org.br':'pytalks',
> },
> applications = ['init','pytalks','admin'],
> controllers = 'DEFAULT'
> ),
> )
> 

There was a change a while back. I'll look up the details.