Hi Stefan,

RIFE hasn't got direct support for this in the web engine, but you can retrieve the used domain name through getServerName(). I remember that somewhere in the past there were some discussions about adding support for domain name mapping in a similar fashion as the current pathinfo mapping. This was never fleshed out though. If you have any ideas about it, feel free to share them.

Take care,

Geert

On 08 Jun 2006, at 20:00, Stefan Thomas wrote:

Hey guys,

I'm currently doing a small site (spare-time project) with RIFE. I stumbled across the following problem.

I want to have several subsites at different subdomains like this:

www.example.com
tony.example.com
phil.example.com

My servlet container is the GPL version of Resin, but I'm more interested in what's the best way methodically.

Maybe some of you could give me a few pointers? Thanks!


Stefan :)


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to