Hello,
On Tue, Mar 15, 2016 at 11:08 AM, 'koev' via Hippo Community
<
hippo-c...@googlegroups.com> wrote:
> Hi,
>
>
test.de was just an example (maybe a bad one). I ll start over with another
> example ;)
>
> prod-group
> de
> werder-bremen
> hst:root
> rest (alias:rest)
> de
> hertha-bsc
> hst:root
> rest (alias:rest)
> de
> football
> cms
> hst:root
> rest (alias:rest)
>
> Imagine a hippo application that runs multiple football pages with mutliple
> domains for the sites. For the cms backend the url
cms.football.de is used.
In general you do not need to add a site host for the cms. Instead, on
a hostgroup, you add a cms:location. For example on your 'prod-group'
you add:
hst:cmslocation =
cms.football.de
If you do that and preview the channel, then also the rest calls
(/rest) should be available in the channel mngr preview if I recall
correctly. You can check this with the gogreen demo I think.
> The /rest services should be available for all sites and for the
>
cms.football.de url too. If I understand it right I would end up with three
> hostgroups for one stage:
>
>
> prod-group-werder-bremen
> de
> werder-bremen
> hst:root
> rest (alias:rest)
>
> prod-group-hertha-bsc
> de
> hertha-bsc
> hst:root
> rest (alias:rest)
This shouldn't be needed: In general, hostgroups are only used to
differentiate between 'dev', 'test', 'acct', 'prod', etc and not to
group different hosts : All hosts for all production sites can/should
be in one hostgroup.
The problem is that an hst:alian within one hostgroup has to be
unique: Namely if you for example right something like
<hst:link path="foo" alias="rest"/>
then if you have two mounts with alias 'rest', the HST does not know
which link to create.
The simplest fix is to just have alias = 'rest-werder-bremen' and
alias = 'rest-hertha-bsc'. *But*, perhaps you have the requirement
that the same jsp/ftl is used for both channels and that you thus
cannot write in your jsp/ftl
<hst:link path="foo" alias="rest-hertha-bsc"/> or <hst:link path="foo"
alias='rest-werder-bremen'/>
If that is your use case, there is a more advanced alias mapping
available as well. This requires however a bit more explanation (and
time). Is it perhaps possible that you contact Hippo helpdesk / sales?
If you are already a customer, we can best support this via a formal
ticket to help you out with your setup
HTH,
Regards Ard