> > map.connect("/admin/{path_info:.*}", controller="admin")
>
> Hi Mike and others, I just tried that and the wsgi callable still gets
> an altereded evn. Path info is '/admin' and script name is still ''. Any
> ideas what might have gone wrong? or other ways to accomplish this?
>
> thanks
> Iain

It seems likely the problem is the trailing slash. The rule in Mike's
example has a slash after admin, and this will not match /admin. On
the other hand, that wouldn't explain why your controller is getting
called at all... did you leave the previous rule you had in?
Jason

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to