-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vikas,

On 8/31/2009 5:53 AM, mailvgarg wrote:
> I have a webapplication with different pages for each client which is
> accessible from URL
> 
> www.myDomain.com/action/clientId
> client Id is different for each client.
> 
> Now I want to provide different domains to these clients and want to map
> them to these URLs.. So that
> www.domain1.com  automatically hit my application at
> www.myDomain.com/action/client1
> www.domain2.com automatically hit my application at
> www.myDomain.com/action/client2

Other than Chuck's suggestion to use the Tuckey's venerable url-rewrite,
you could also deploy your webapps differently, like this:

<Host name="www.domain1.com" appBase="...../domain1" />
<Host name="www.domain2.com" appBase="...../domain2" />
<Host name="www.domain3.com" appBase="...../domain3" />

...and then deploy your webapp into each of the appBase directories as
the ROOT webapp. Of course, each one would need to be configured to
"act" as the appropriate webapp for that client id. I'm not sure how
complicated that would be for you.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb4TIACgkQ9CaO5/Lv0PBJ8ACdHO/O4JeQi41JvpZ0DwkV2lyX
Jk4An0baSPLJOXG4NSYDFC/rMGj60EcT
=J7ra
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to