Will look into it but probably not until later in the week. Meanwhile
if somebody can make any progress, let me know.
On Aug 2, 1:18 pm, Bruno Rocha wrote:
> I really tried every example given,
> but no one works on GAE
>
> I cant figure out how to change this:
>
> http://web2pybrasil.appspot.com
I really tried every example given,
but no one works on GAE
I cant figure out how to change this:
http://web2pybrasil.appspot.com/init/plugin_wiki/page/home
to this:
http://web2pybrasil.appspot.com/page/home
2010/8/1 mdipierro
> ('/(.*?)/(.*?)', '/$1/yourcontroller/$2'),
>
> or use
>
>
On Aug 1, 2010, at 2:54 AM, mdipierro wrote:
> I realized there was a bug in rewrite that prevented $1, $2, etc from
> working. Please check if this is now fixed in trunk.
A very minor redundancy:
regex_at = re.compile('(?
('/(.*?)/(.*?)', '/$1/yourcontroller/$2'),
or use
('/$a/$anything', '/$a/yourcontroller/$anything'),
On Aug 1, 1:16 am, Vasile Ermicioi wrote:
> oops, not like that but like this
>
> routes_in = (
> ('/(.*)/(.*)', '/$1/yourcontroller/$2'),
> )
>
> everything is passed to a controlle
I realized there was a bug in rewrite that prevented $1, $2, etc from
working. Please check if this is now fixed in trunk.
On Aug 1, 1:20 am, Thadeus Burgess wrote:
> Don't forget routes out
>
> routes_out = (
> ('/(.*)/(.*)/(.*)', '/$3'),
> )
>
> --
> Thadeus
>
> On Sun, Aug 1, 2010 at 1:16 A
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
Don't forget routes out
routes_out = (
('/(.*)/(.*)/(.*)', '/$3'),
)
--
Thadeus
On Sun, Aug 1, 2010 at 1:16 AM, Vasile Ermicioi wrote:
> oops, not like that but like this
> routes_in = (
> ('/(.*)/(.*)', '/$1/yourcontroller/$2'),
> )
> everything is passed to a controller (e.g. 'def
oops, not like that but like this
routes_in = (
('/(.*)/(.*)', '/$1/yourcontroller/$2'),
)
everything is passed to a controller (e.g. 'default')
routes_in = (
('/(.*)/(.*)/(.*)', '/$1/$3'),
)
little explanation:
$1 - app
$2 - controller
$3 - action + vars and args
as you see $2 is skipped
taking advantage of the thead, I wonder if has any secret or tip to
make it working on GAE
given:
http://mydomain.appspot.com/application/controller/action/arg1/arg2/
to be:
http://mydomain.appspot.com/action/arg1/arg2
any way to hide "application/controller" part ?
if yes, please show me the
10 matches
Mail list logo