Hi David,

Can you bit explain, how this mapping to be done, like
http://employees.somecompany.com/jetspeed/ -> maps to employee-subsite
http://customers.somecompany.com/jetspeed/ -> maps to customer-subsite
http://partners.somecompany.com/jetspeed/ -> maps to partner-subsite

I looked at the documentation, didn't get it through.

Thanks
Bhaskar

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 28, 2006 1:06 PM
To: Jetspeed Users List
Subject: Re: multiple portals

Elif Guner wrote:
> Thanks a lot David... I have one more simple question (might be a
> silly one after all that explanation of yours) regarding subsites.
> What I understand is that an anonymous user is first directed to the
> root. He's directed to the subsite depending on the profiling rule on
> that particular user's role, is that right? (So in order to forward
> his request to the subsite he must be logged in? Or using the
> subsite-role-fallback-home rule can I also map anonymous users to a
> subsite?)
> Would it be possible to implement my own profiling rule which
> redirects users to subsites depending on the requested URL? Is there
> any tutorials on how to write a profile rule?
> 
No tutorials available on this subject that i know of.

Your use case reminds me of a profiling rule based on the host I've been 
thinking about. Sorry if Im going off topic, but something like:

http://employees.somecompany.com/jetspeed/ -> maps to employee-subsite
http://customers.somecompany.com/jetspeed/ -> maps to customer-subsite
http://partners.somecompany.com/jetspeed/ -> maps to partner-subsite

I think this would work regardless of if you are logged on or not.
We don't yet have a resolver to parse the host, a general resolver to 
look at the host should be easy enough

assume you have read the docs here:

http://portals.apache.org/jetspeed-2/guides/guide-profiler.html

Just had a look myself. The docs are not up-to-date. Philip contributed 
an IP address resolver that is not documented here

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to