I put together a quick example from what you requested https://gist.github.com/883640
Let me know if you have any questions, there are probably other [better] ways to do this so if anyone has any improvements please let me know. -- Frank “Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher’s Law of Software Engineering) On Wed, Mar 23, 2011 at 1:08 PM, pyt <[email protected]> wrote: > Hi all, > > i am new to web.py and trying to understand its structure. > > i have a question about the subapplications. From main app, i can > easily route an url to a subapplication. But routing an url from > subapplication to another subapplication is not working. Is this a > bug? or a feature? > > For example I want to: > from "main.py", reroute "/blog" to "blog.py" > from "blog.py", reroute "/categories" to "category.py" > in "category.py" handle "/index" with Index class. > > So when i enter the "/blog/categories/index" as url, i want the Index > class in "category.py" handles the request. Is is possible? I cannot > succeed so far. > > Thanks in advance. > > -- > 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. > > -- 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.
