Re: Different webapp paths on different hosts

2013-02-02 Thread chris derham
> To my mind if you deploy the app as ROOT.war, as long as DNS > is configured correctly, that single context will serve > responses to http://app1.com/ and http://app2.com/. This > appears solves the explicit requirement stated above. But the OP refuses to supply any info

Re: Different webapp paths on different hosts

2013-02-02 Thread bxqdev
webapp paths on different hosts To my mind if you deploy the app as ROOT.war, as long as DNS is configured correctly, that single context will serve responses to http://app1.com/ and http://app2.com/. This appears solves the explicit requirement stated above. Which is what I suggested back on

Re: Different webapp paths on different hosts

2013-02-02 Thread bxqdev
On 1/28/2013 7:13 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 bxqdev, On 1/26/13 1:09 AM, bxqdev wrote: On 1/26/2013 1:05 AM, Christopher Schultz wrote: Dude, On 1/25/13 12:38 AM, bxqdev wrote: i want to have one instance of webapp, No problem. whic

Re: Different webapp paths on different hosts

2013-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 bxqdev, On 1/26/13 1:09 AM, bxqdev wrote: > > > On 1/26/2013 1:05 AM, Christopher Schultz wrote: Dude, > > On 1/25/13 12:38 AM, bxqdev wrote: i want to have one instance of webapp, > > No problem. > which has two paths, > > Problem:

Re: Different webapp paths on different hosts

2013-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 bxqdev, On 1/26/13 3:04 PM, bxqdev wrote: > On 1/26/2013 9:36 PM, Caldarale, Charles R wrote: >>> From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf >>> Of chris derham Subject: Re: Different webapp paths o

RE: Different webapp paths on different hosts

2013-01-26 Thread Caldarale, Charles R
> From: bxqdev [mailto:bxq...@themailbay.com] > Subject: Re: Different webapp paths on different hosts > in this case http://app1.com/ and http://app2.com/ will serve the same > content. > i need different content on different domains. First you state that you want the same

Re: Different webapp paths on different hosts

2013-01-26 Thread bxqdev
On 1/26/2013 9:36 PM, Caldarale, Charles R wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Different webapp paths on different hosts To my mind if you deploy the app as ROOT.war, as long as DNS is configured correctly, that single context

Re: Different webapp paths on different hosts

2013-01-26 Thread bxqdev
On 1/26/2013 9:23 PM, chris derham wrote: it's not. maybe it will make things clear if i change the names of the paths, say: * when user goes to http://app1.com/ -> {thesamewebapp}/app1 path is served as root path of the domain app1.com * when user goes to http://app2.com/ -> {thesamewebapp}/

RE: Different webapp paths on different hosts

2013-01-26 Thread Caldarale, Charles R
> From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham > Subject: Re: Different webapp paths on different hosts > To my mind if you deploy the app as ROOT.war, as long as DNS is > configured correctly, that single context will serve responses to > http:

Re: Different webapp paths on different hosts

2013-01-26 Thread chris derham
> > it's not. maybe it will make things clear if i change the names of the > paths, say: > > * when user goes to http://app1.com/ -> {thesamewebapp}/app1 path is served > as root path of the domain app1.com > * when user goes to http://app2.com/ -> {thesamewebapp}/app2 path is served > as root path

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/26/2013 1:05 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dude, On 1/25/13 12:38 AM, bxqdev wrote: i want to have one instance of webapp, No problem. which has two paths, Problem: one context = one path = one instance If you want two separate pat

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/25/2013 12:29 PM, Konstantin Kolinko wrote: 2013/1/25 bxqdev : Anyway I would say a context.xml file in conf/catalina/path1 (the hostname)/path1.xml (the context name) should do the trick? Place the webapp outside the appbase of the hosts and then point the docbase to the webapp (or just

Re: Different webapp paths on different hosts

2013-01-25 Thread bxqdev
On 1/25/2013 12:11 PM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 25-01-2013 06:38, bxqdev skrev: On 1/24/2013 11:52 AM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Chr

Re: Different webapp paths on different hosts

2013-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dude, On 1/25/13 12:38 AM, bxqdev wrote: > i want to have one instance of webapp, No problem. > which has two paths, Problem: one context = one path = one instance If you want two separate paths, you need two separate contexts. > and each of th

Re: Different webapp paths on different hosts

2013-01-25 Thread Shanti Suresh
On Fri, Jan 25, 2013 at 3:29 AM, Konstantin Kolinko wrote: > 2013/1/25 bxqdev : > >> > >> Anyway I would say a context.xml file in conf/catalina/path1 (the > >> hostname)/path1.xml (the context name) should do the trick? > >> Place the webapp outside the appbase of the hosts and then point the > >

Re: Different webapp paths on different hosts

2013-01-25 Thread Konstantin Kolinko
2013/1/25 bxqdev : >> >> Anyway I would say a context.xml file in conf/catalina/path1 (the >> hostname)/path1.xml (the context name) should do the trick? >> Place the webapp outside the appbase of the hosts and then point the >> docbase to the webapp (or just drop the .war with two >> different nam

Re: Different webapp paths on different hosts

2013-01-25 Thread Casper Wandahl Schmidt
See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 25-01-2013 06:38, bxqdev skrev: On 1/24/2013 11:52 AM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE--

Re: Different webapp paths on different hosts

2013-01-24 Thread bxqdev
On 1/24/2013 11:52 AM, Casper Wandahl Schmidt wrote: See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like "/pa

Re: Different webapp paths on different hosts

2013-01-24 Thread bxqdev
On 1/24/2013 5:32 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like "/path1" and "/path2", (not root "/" path), of the same webapp to a custom domains. as i said i need this mapping: ${sa

Re: Different webapp paths on different hosts

2013-01-23 Thread Casper Wandahl Schmidt
See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like "/path1" and "/path2", (not root "/" path), of the same weba

Re: Different webapp paths on different hosts

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: > i need to map a custom paths, like "/path1" and "/path2", (not root > "/" path), of the same webapp to a custom domains. > > as i said i need this mapping: ${samewebapp}/path1 is mapped to > http://path1.co

RE: Different webapp paths on different hosts

2013-01-23 Thread Jeffrey Janner
> -Original Message- > From: bxqdev [mailto:bxq...@themailbay.com] > Sent: Tuesday, January 22, 2013 11:09 PM > To: Tomcat Users List > Subject: Re: Different webapp paths on different hosts > > i need to map a custom paths, like "/path1" and "/path2&

Re: Different webapp paths on different hosts

2013-01-22 Thread bxqdev
i need to map a custom paths, like "/path1" and "/path2", (not root "/" path), of the same webapp to a custom domains. as i said i need this mapping: ${samewebapp}/path1 is mapped to http://path1.com/ ${samewebapp}/path2 is mapped to http://path2.com/ NOT this: ${samewebapp}/path1 is mapped to

RE: Different webapp paths on different hosts

2013-01-22 Thread Caldarale, Charles R
> From: bxqdev [mailto:bxq...@themailbay.com] > Subject: Different webapp paths on different hosts > Is it possible with tomcat to have one web app, with 2 different > paths on different hosts?? > I mean something like this: > ${samewebapp}/path1 is mapped to http://path1.com/ > and > ${sameweb