atom feed60 messages in org.apache.incubator.sling-dev[jira] Commented: (SLING-249) Allow m...
FromSent OnAttachments
Vidar S. Ramdal (JIRA)Feb 15, 2008 7:28 am 
Felix Meschberger (JIRA)Feb 15, 2008 7:36 am 
Bertrand Delacretaz (JIRA)Feb 15, 2008 2:24 pm 
eric...@acquitygroup.comFeb 15, 2008 5:52 pm 
Felix MeschbergerFeb 16, 2008 2:09 am 
Tobias Bocanegra (JIRA)Feb 17, 2008 9:14 am 
Vidar S. Ramdal (JIRA)Feb 18, 2008 12:24 am 
Vidar S. Ramdal (JIRA)Feb 18, 2008 12:26 am 
eric marts (JIRA)Feb 18, 2008 3:06 pm 
Vidar S. Ramdal (JIRA)Mar 26, 2008 3:09 am 
Bertrand Delacretaz (JIRA)Mar 26, 2008 3:19 am 
Carsten Ziegeler (JIRA)Apr 30, 2008 11:39 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:06 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:12 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:14 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 3:36 am 
Felix Meschberger (JIRA)Nov 20, 2008 4:02 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 4:14 am 
Alexander KlimetschekNov 20, 2008 4:36 am 
Felix Meschberger (JIRA)Nov 20, 2008 5:36 am 
Bertrand Delacretaz (JIRA)Nov 20, 2008 5:50 am 
Alexander Klimetschek (JIRA)Nov 20, 2008 7:14 am 
Bertrand DelacretazNov 20, 2008 8:56 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 9:16 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 9:20 am 
Bertrand Delacretaz (JIRA)Nov 20, 2008 9:26 am 
Felix MeschbergerNov 20, 2008 11:16 pm 
Felix Meschberger (JIRA)Nov 20, 2008 11:24 pm 
Alexander KlimetschekNov 21, 2008 12:50 am 
Vidar RamdalNov 21, 2008 1:03 am 
Alexander KlimetschekNov 21, 2008 1:42 am 
Bertrand Delacretaz (JIRA)Nov 21, 2008 3:14 am 
Felix Meschberger (JIRA)Nov 21, 2008 3:28 am 
Felix MeschbergerNov 21, 2008 3:34 am 
Alexander KlimetschekNov 21, 2008 3:37 am 
Felix MeschbergerNov 21, 2008 3:47 am 
Felix MeschbergerNov 21, 2008 3:51 am 
Alexander KlimetschekNov 21, 2008 5:24 am 
Vidar RamdalNov 21, 2008 7:22 am 
Alexander KlimetschekNov 21, 2008 8:47 am 
Roy T. FieldingNov 21, 2008 4:11 pm 
David NueschelerNov 22, 2008 3:49 am 
Felix MeschbergerNov 23, 2008 10:30 am 
Felix MeschbergerNov 23, 2008 1:42 pm 
Vidar RamdalNov 24, 2008 12:59 am 
Felix MeschbergerNov 24, 2008 1:31 am 
Bertrand DelacretazNov 24, 2008 1:37 am 
Bertrand DelacretazNov 24, 2008 1:40 am 
Felix MeschbergerNov 24, 2008 5:06 am 
Felix MeschbergerNov 24, 2008 5:10 am 
10 later messages
Subject:[jira] Commented: (SLING-249) Allow mapping nodes to internet domains
From:Vidar S. Ramdal (JIRA) (ji@apache.org)
Date:Nov 20, 2008 9:20:44 am
List:org.apache.incubator.sling-dev

[
https://issues.apache.org/jira/browse/SLING-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649420#action_12649420
]

Vidar S. Ramdal commented on SLING-249:

---------------------------------------

@Bertrand

I'm not sure about caching domainRoots. At least in our case, we need to add
domains run-time. So at least we need a simple way to re-scan the domain info.

Thinking about it, a query like //*[contains(sling:domains,
request.getHeader("Host"))] allows domain roots to be located all over the
tree, at any level. We might not want domain roots located under other domain
roots. Maybe we should specify that domain roots must be located directly under
jcr:root (or another specified location) - in which case the query should be
something like /*[contains(sling:domains, request.getHeader("Host"))]

Allow mapping nodes to internet domains

---------------------------------------

Key: SLING-249 URL: https://issues.apache.org/jira/browse/SLING-249 Project: Sling Issue Type: New Feature Components: Engine Affects Versions: JCR Resource 2.0.2 Reporter: Vidar S. Ramdal Assignee: Felix Meschberger Fix For: JCR Resource 2.0.4

Sling should support hosting multiple domains, with different JCR roots. E.g.: http://www.domain1.com could map to /content/domain1.com http://www.domain2.com could map to /content/domain2.com While developing a website, the fully qualified domain might not be available.
Ideally, the mapping could be configured in a flexible way. One option would be
to maintain a set of regular expressions to match against URLs. Each regexp
would then match to a path in the JCR.