at the web2py root folde I just created a file called routes.conf with this

http://snipt.net/rochacbruno/routesconf  (replace my domain with your domain
and application)

at the web2py root folder create a file calles routes.py with:

http://snipt.net/rochacbruno/routespy


Restart web2py and www.yourdomain/app/default/index will be
www.yourdomain.com/index


On Mon, Apr 4, 2011 at 6:09 PM, Ahmed Sharkawy <[email protected]> wrote:

> *@*Bruno Rocha *
>
> t is very good site but the answer is so complicated !*
>
>
> On 4 April 2011 22:13, Bruno Rocha <[email protected]> wrote:
>
>> I dont if it helps, but I use the autoroutes which works very fine for me:
>>
>> http://snipt.net/rochacbruno/routesconf
>>
>> http://snipt.net/rochacbruno/routespy
>>
>>
>> --
>> Bruno Rocha
>> [ About me: http://zerp.ly/rochacbruno ]
>>
>>
>>
>> On Sun, Apr 3, 2011 at 1:01 PM, Shark <[email protected]> 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
>>>
>>> so I need your help
>>>
>>> Thanks
>>
>>
>>
>
>
> --
> Ahmed Sharkawy
>
>

Reply via email to