Hello, I am trying to get Jetspeed 2.2.0 to serve different subsites based on hostname, even when there is no logged-in user. My aim is to have a differently-themed login page for each subsite, and for people to be able to browse the different subsites without logging in.
After reading the subsite documentation, I managed to get a subsite-by-hostname rule working. Note: there seem to be 2 errors in the documentation - the rule has 2 Criterion elements with name="hostname" - the Snapshot is imported with no error apparent in the logs, or on the screen, but it is not accepted by Jetspeed. Calling the second Criterion "hostname-2" works fine. - the example subsite-by-hostname rule seems to work only for users but not roles. I changed it to do only navigation,hostname,role,path and it then worked OK for roles. My problem is that without logging on, you can't get directed to the right subsite - even though your URL has the right hostname! I tried: Changing the profiler rule for user and role 'guest' - didn't work. Changing the global default rule for the profiler by Spring bean config - worked, but only for the admin user, because it's the only *authenticated* user that has no profiler rule assigned out-of-the-box. Is there a way to do what I want, or is it simply not intended to be possible? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
