Re: Hosting multiple domains on a single application

2009-08-31 Thread Christopher Schultz
-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:





...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



RE: Hosting multiple domains on a single application

2009-08-31 Thread Caldarale, Charles R
> From: mailvgarg [mailto:mailvg...@gmail.com]
> Subject: Hosting multiple domains on a single application
> 
> can any body tell me what should be the process to handle such mapping.

Try this:
http://tuckey.org/urlrewrite/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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