Re: [BlueBream] handling URLs for multiple sites in single bluebream instance

Joshua Immanuel <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.web.zope.bluebream
Organization HiPro IT Solutions Private Limited
Message-ID <1308320616.2470.46.camel@jimman>
Hello Thierry,

Thanks for the reply.

On Fri, 2011-06-17 at 14:31 +0200, Thierry Florac wrote:
> I guess you just want to do virtual hosting inside a single BlueBream
> application server 

Ok. That is one way to say. What if I want to add new sites dynamically
from the web frontend?

For the virtual hosting, I don't have to care about the URL prefix, I
just treat my URLs as say, "/container1/object1/@@add.html" instead of
"/site1/container1/object1/@@add.html".

But say, I have a view page for "http://localhost:xxxx/" (i.e. for
zope.site.interfaces.IRootFolder) which has links to create new sites.
And say, I create necessary application specific objects under them when
the new site is added to the root.

How to dynamically handle the URLs for this kind of situation?

-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk37Y2IACgkQWw85XwuSFMJiugCgg7gTyNyc9QoKVqYibwh9/RoR
ZucAoJ1bUiA7IKI1D3H35aP7nH5XltzK
=3tXa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.