Does not works here, may I doing something wrong.

$1 HelloWorld
$2 default
$3 index/args/

I do not want the url: http://127.0.0.1/HelloWorld/default/index
I need http://127.0.0.1/index

that points me to the place I need, but raises INVALID REQUEST

I tried to remane my app to 'init' but does not works too.

Where can I find more detailed explanation on routes.py ?



2010/8/1 Thadeus Burgess <thade...@thadeusb.com>

> Don't forget routes out
>
> routes_out = (
>  ('/(.*)/(.*)/(.*)', '/$3'),
> )
>
> --
> Thadeus
>
>
>
>
>
> On Sun, Aug 1, 2010 at 1:16 AM, Vasile Ermicioi <elff...@gmail.com> wrote:
> > oops, not like that but like this
> > routes_in = (
> >     ('/(.*)/(.*)',   '/$1/yourcontroller/$2'),
> > )
> > everything is passed to a controller (e.g. 'default')
> >
>



-- 

http://rochacbruno.com.br

Reply via email to