*I want url rewriting not changing the default route
*
On 3 April 2011 18:40, Jonathan Lundell <[email protected]> wrote:

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


-- 
Ahmed Sharkawy

Reply via email to