On Wed, Aug 26, 2009 at 5:10 PM, Markus Pallo<pa...@dig.de> 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?

If the content is similar for both domains, you can easily copy and
update it with the JCR API.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetsc...@day.com

Reply via email to