hello
 here is my url mapping code
 urls = (
    '/',                    pre_fix + 'public.Index',
    '/login',               pre_fix + 'public.Login',
    '/register',            pre_fix + 'public.Register',
    '/verify',              pre_fix + 'public.Verify',
    '/validate_email',              pre_fix + 'public.ValidateEmail',
    '/validate_username',              pre_fix +
'public.ValidateUserName',
    '/shortpost',              pre_fix + 'weibo.ShortPost',
    '/(.*)',                    pre_fix + 'weibo.UserIndex',
)

the last url is for user name mapping.
when i input url such as http://host:port/login, the login module is
executed and render correct html into web browser, but i find the last
url '/(.*)' is also executed. it is not correct,because i just want to
the last url mapping to map user's name.
 above code like the official code example(wiki), here is the the url
mapping of wiki:
 urls = (
    '/', 'Index',
    '/new', 'New',
    '/edit/(\d+)', 'Edit',
    '/delete/(\d+)', 'Delete',
    '/(.*)', 'Page',
)
could you please see my problem? thanks a lot

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

Reply via email to