@Marty: shows what? How to enter rules? The docs are here: http://sling.apache.org/site/mappings-for-resource-resolution.html but they could be better.
Also, the samples do not work as advertised. Creating a node with sling:match=http/localhost\.\d* results in the following rule: ^http/localhost.d*.80 Notice how the rules has a .80 attached to it, making it impossible to write rules that match any ports. Is this a bug? I couldn't find anything about this in JIRA, so I assume it might be new. On Fri, Nov 2, 2012 at 9:09 AM, Marty Phee <[email protected]> wrote: > Do you have a link which shows this? > > > > On Nov 2, 2012, at 7:29 AM, Alexander Klimetschek <[email protected]> > wrote: > > > On 01.11.2012, at 18:30, Jakob Külzer <[email protected]> wrote: > >> What is the recommended way of configuring the resolver? Obviously, > having > >> someone enter the rules manually on the console is not an option, so > >> something that is stored in the tree and can be packaged and redeployed > >> would be ideal. Is there a way to configure the ResourceResolver (the > >> JcrResourceResolverImpl to be more precise) via sling:OsgiConfig? > > > > I think the best way is to configure them via /etc/map, this can be > packaged. > > > > Cheers, > > Alex > > > > > -- Cheers, Jakob
