ok, I've been trying to figure this out for a while, and I haven't
quite cracked this nut.

What I'm trying to do is understand the mechanics of mounting a pylons
app as anothers controller. To get this sort of effect...

http://myapp:5000/home/index <------site container
and
http://myapp:5000/registration/register/index <---- another pylons app

in my registration.py controller of my container app I have...

from paste.deploy import loadapp
RegistrationController = loadapp("config:/path/to/config.ini")


in my routing.py of my container app I have...

map.connect("registration/{path_info:.*}",controller="registration")


So, if I short circuit the make_app function of the contained app by
returning a callable which returns a simple "Hello I am contained..",
it works as expected. If, I return an app from make_app as originally
implemented, routes seems to not resolve properly to a controller in
the contained app and a 404 bubbles on up.

Am I not 733t enough to be using this? :)
--~--~---------~--~----~------------~-------~--~----~
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