If you are planning to use apache anyway, then you could use mod_rewrite for this (see apache docs on mod_rewrite - but basically rewrite (internally) the "a.abc.com" to "abc.com/a" and connect "abc.com/a" via mod_jk to tomcat "/a" and then tomcat doesn't need to know about the rewrite).

don't __think__ there is a tomcat way to distribute a webapp across urls, but you __might__ get the same effect by having virtual hosts in tomcat, each with a ROOT webapp, and enabling single-sign-on (to enable the same session across the webapps).

I've never used single-sign-on, but that's the first thing I'd check, if you want a tomcat-only solution.

hth Tim



Kumar Limbu wrote:
Hi Guys,

Hi everyone. I am new to this mailing list and I have a configuration
problem.

I searched through the web and googled around but I couldn't get a
satisfactory reply. I also went through the mailing list, but I couldn't
come across anything specific to my need.

We are about to deploy an application. What we are looking to do is to map
each individual folder within the web application to a different urls.

What I mean by this is,
For example we have a web application called webapp and within webapp we
have folders like a, b and c. What I would like to know is , how can I map
these folder to urls like a.abc.com , b.abc.com and c.abc.com. Is there any
way to do this? I haven't really been able to find a reasonable solution to
this problem. So if anyone knows how to do it please drop a word.

Thank You,

Kumar




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

Reply via email to