[
https://issues.apache.org/jira/browse/SLING-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913003#action_12913003
]
Róbert Csákány commented on SLING-1198:
---------------------------------------
Alexander:
I think it's better to use internal solution like mod_rewrite -> if I follow
this logic all the mappings can be done with mod_rewrite, but what about if
somebody wanna use jk_mod?
The @noparam@ entry have to be used if @par@ parameter presented in the parent
sling:Mapping node, so if you are not using the @par@, the @noparam@ is not
handled.
The plugin system is a good idea, but (as I know) there is no plugin system
developed yet for mapping. Felix made a draft proposal, but it isn't developed
yet.
> Allow mapping nodes to internet domains with template parameters
> ----------------------------------------------------------------
>
> Key: SLING-1198
> URL: https://issues.apache.org/jira/browse/SLING-1198
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Affects Versions: JCR Resource 2.0.2
> Reporter: Róbert Csákány
> Assignee: Felix Meschberger
> Attachments: MapEntry.pacth, MapEntry.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.