Not having done this myself I cannot swear to it, but I have seen similar questions and I think the suggested solution was usually a filter. You can grab the request, parse the url and re-write it to suite.

As for details, others will have to fill in those. Search Google for filters and see what turns up. There is also a section in the docs.

Doug


----- Original Message ----- From: "Ashok Madhavan" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, July 24, 2006 3:08 PM
Subject: Virtual Host related question


Hi All,

In our web-app multiple company users can login and each company get its own setup. The entry point is the same for all the users but each company has a
different query string. something like
http://mycompany/com/mywebapp/login.do?companyKey=xxxyyyzzzz.

The web-app works fine. But obviously our clients want a better entry url.
something like http://client1.mycompany.com.

Is there any way by which i can map
http://mycompany/com/mywebapp/login.do?companyKey=xxxyyyzzzz to
http://client1.mycompany.com. other clients will get similar url changes.

is this possible and what is the way to do it.

thanks a lot.

regards
ashok




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to