hi, i use this:
http://pastebin.ca/1237881

so it will go through the urls and if it doesnt find a match and it
doesnt end with '/'
it will try to match again with '/' appended.

-b

On Mon, Oct 27, 2008 at 8:54 AM, tmallen <[EMAIL PROTECTED]> wrote:
>
> Instead of
>
> urls = (
>    "/", "index",
>    "", "index"
> )
>
> this
>
> urls = (
>    "/?" "index"
> )
>
> works fine. So I find myself prefixing all of my URL keys with /? to
> cover both with and without the slash. Is this really necessary? In my
> testing, I only ran into problems when I left out the first "/" case.
> >
>

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