Hi Alessandro!

On 31.10.2013, at 07:28, Alessandro Bologna <[email protected]> 
wrote:

> For requests that have a specific header, say "Host:otherapp", I want
> instead to use scripts located at /apps/myotherapp/page.
> 
> Short of duplicating the resource, what's the best practice to implement this?

I would say the best practice actually IS to have a separate resource tree for 
another host/tenant. As soon as ACLs or other little differences between hosts 
come into play, this is the best approach. Otherwise you'll start 
reimplementing a lot of what the repository and sling gives you already.

Cheers,
Alex

Reply via email to