Alexander Klimetschek wrote:
On Wed, Aug 26, 2009 at 5:10 PM, Markus Pallo<[email protected]> wrote:
we want to host two sites on one sling instance. The sites are sharing
content but have different layout.
I found how to map resources in "/etc/map/..." according to protocol,
hostname and port.
Is something similar possible for scripts stored in "/apps" ?
We like to have /apps/domain1/page/html.esp and /apps/domain2/page/html.esp
Or is there some other solution to make this possible ?
My gut feeling says, you should have two different content trees for
your different domains. What is your use case by having the same
content but different scripts for different domains?
Thanks for answering.
The use case is each site has custom content which should not reflect to
others.
And there is a news provider prvoviding news which both sites should use
and modification on these news should reflect on all sites immediatly.
So probably we could have three content trees domain1, domain2, shared.
If we have two or three different content trees in the same repository,
how to configure resource search path that the scripts will be found for
the corresponding content tree (site layout) ? The nodes have same
sling:resourceType.
If the content is similar for both domains, you can easily copy and
update it with the JCR API.
ok, still the question for me how to identify script resolution
according to "/apps/sitexy". Probably i miss something general in my
understanding ...
Markus
--
------------------------------------------------------------------
DIG Digitale Medienberatungs-
und Produktions- GmbH
Neckarstr. 1/5
78727 Oberndorf a. N.
Amtsgericht Stuttgart HRB 480914
Geschäftsführer: Carsten Huber
------------------------------------------------------------------
Tel: +49 (0)7423 8750 60
Fax: +49 (0)7423 8750 23
Internet: http://www.dig.de
eMail: [email protected]
Ein Unternehmen der Schwarzwälder Bote Mediengruppe