On Oct 20, 4:53 pm, Alessandro Agosto <[email protected]> wrote:
> Hi everyone,
> 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'
> )
>
> How I can solve?
>
> Thank you,
> Greetings.
Solved.
I simply wrong to use URLs.
I have changed '/s' to '/s/' and i remove the slash by
static.app_static's url mapping.
So, '/js' has become 'js' and all is working.
Thanks anyway!
Greetings.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---