handling URLs for multiple sites in single bluebream instance

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

	In order to serve the same application to multiple clients, I've added
a container named say 'Site' to the root and made them as sites by
site.setSiteManager(LocalSiteManager(site)).  So, the root may contain
many of those 'Site' containers say 'site1', 'site2', etc. and the
application specific objects/containers resides under them.

The application specific URL say "/container1/object1/@@add.html" would
now become "/site1/container1/object1/@@add.html" for 'site1' and
"/site2/container1/object1/@@add.html" for 'site2' etc. depending on
which client (site) is being served. So, how should the URLs be in the
templates? Or in other words, how to handle URLs for multiple clients
(sites) for the same application.

If anyone can explain or point me to some documentation related to this,
it would be very helpful.
-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk37N+cACgkQWw85XwuSFMK6BgCfX/FVcgAWHOI4gcGhYv7GyOrm
OCIAoIgPPdBtOGs7LvBXZxaXUoHkvxqp
=T6yf
-----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.