On Apr 3, 2011, at 9:01 AM, Shark wrote:
> 
> Hello
> 
> I am asking about url rewriting in web2py withGAE
> 
> I want to make our site page
> www.site.com/init/login
> 
> to
> 
> www.site,com/login
> 
> can you help me ?
> 
> someone tell me change app,yaml
> others
> say change routers.py

Change (create) routes.py (note the name).

With your configuration, the default case should work fine:

routers = dict(

    # base router
    BASE = dict(
        default_application = 'init',
    ),
)


> 
> so I need your help
> 
> Thanks


Reply via email to