On Mon, Apr 7, 2008 at 5:03 PM, Aaron Swartz <[EMAIL PROTECTED]> wrote:
>
>  Hermann, you do know that you can do:
>
>  urls = ('/foo', 'foo')
>
>  class foo:
>     def GET(self):
>         i = web.input()
>         print i.name
>
>  and have /foo?name=Joe return "Joe"
>
>  right?

Yes of course. That's sort of what I was trying to say. He can either do

urls =  ('/ac/(.*)', 'index') and
def GET(self, url_bit)

if he wanted to have other stuff after /ac/ get redirected to index

or

urls =  ('/ac/?', 'index') and
def GET(self)

which is what you just said and what he seems to be after.

I know this has nothing to do with getting GET variables, but then
again I don't think that was his problem.

-- 
Hermann Käser
http://theragingche.com/
http://semicir.cl/user/hermzz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to