Hello,

currently we have the need to run multiple websites on the same
sling-instance. That is, serving the same or similar content in
different ways, defined by the hostname.
For this we would like to have a single pool of sling-app-servers and
each one should be possible to serve all websites. Otherwise we would
need to have one pool for each (small) site, which is not feasible.

Our solution was to patch the sling SevletResolver (2.0.9) to accompany
each entry in the search-path with a hostname (defined by a regular
expression).
Resolving a servlet would now evaluate the hostname to "create" a
specific search-path for this hostname (with entries valid for this
hostname).
Probably this could be named "virtual hosts"?

Whith this some questions arise for us:

1. does somebody have a similar requirement of running multiple websites
on the same sling instance? Somebody like to share experience?

2. is there another possible (easier?) solution for our problem?

3. would this be a feature for sling in general?

What do you think?

regards
markus



Reply via email to