> today while i was writing my application, I am aware that using a URL
> like '/s' another URL that can be '/search' does not work.
>
> This is my urls scheme:
> urls = (
>    '/(.*)/','Redirect',
>    '/', 'Home',
>    '/s', static.app_static, #it handle request for static contents
>    '/search', 'Search', # this url does not work
>    '/favicon.ico', 'Favicon'
>    )

Hi,

Have you tried changing the order of these 2 lines

'/s', static.app_static, #it handle request for static contents
'/search', 'Search', # this url does not work

so the '/search' would appear first on the URL mapping ?
I think that would work without any other modifications.

Greetings,

--
Giovani

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