[Hippo-cms7-user] Re: Running mutiple sites

Ard Schrijvers a.schrijvers at onehippo.com
Tue Sep 28 11:52:18 CEST 2010

Hello Matt,

I have given your 'context dependent' set up another thought while
walking with my dog this morning :).  The thing is, that depending on
the context path is exactly one of those things that HST2 did try to
solve in its architecture: In other words, regardless your context
path. We designed the HST that on local development you can just run
everything with a context path, say /site. Still, none of your urls in
the jsp's would contain /site, as all links are created by hst:link

Now, when you deploy to production, you can still deploy as site.war .
Httpd in front strips of the /site. Now, only changing the boolean
property in the hst:virtualhosts for hst:showcontextpath makes urls
work out-of-the-box, and be created without /site.

Now, I am explaining this, to show that we wanted to be independent of
the context path during development. Therefore, your planned setup by
differentiating with the help of context paths is not a natural fit to
the hst design.

Perhaps, you can first tell your exact usecase, and we might be able
to hand an alternative solution in line with the HST,

Regards Ard

On Mon, Sep 27, 2010 at 6:00 PM, mvanbergen <mvanbergen at gmail.com> wrote:
> Hi Ard,
> Thank you so much for the reply.
> Yes, just the first need is what we are looking for.  If we deploy site1.war
> and site2.war, can the authors still access the same CMS instance for
> managing content?  For example, in the CMS app:
> -Documents
> -- site1
> -- site2
> So, the site1 folder tree has all of the content for site 1 and the site2
> folder tree has all of the content for site 2.
> My newness to Hippo is shining through, but if this was possible, how does
> site1.war "map" to Documents\site1 and how does site2.war "map" to
> Documents\site2?   Is this something that I would configure in the CMS
> Console, similar to how the instructions were laid out for multiple virtual
> hosts (post:
> http://hippo.2275632.n2.nabble.com/Running-mutiple-sites-td4050316.html#a4050433)?
> Thanks again,
> Matt
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/Running-mutiple-sites-tp4050316p5575707.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html

Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Fransisco  185 H Street Suite B  •  Petaluma CA 94952-5100
•  +1 (707) 773 4646
Canada    •   Montréal  5369 Boulevard St-Laurent  •  Montréal QC H2T
1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com

More information about the Hippo-cms7-user mailing list