How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Hi. This is a simple question (i think) After playing with server,xml (and various other .xml files) I am unable to work out how to host multiple domains on a Tomcat 6 (standalone) server (running on port 80) .. I have read - http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread André Warnier
Can you tell us on what kind of host system you are running this ? It would help guessing where the files are. Thanks. P.S. I am not the expert, but it should indeed be relatively simple, so I'll try. In a nutshell : - start again from the original server.xml file. - in it, locate the Host

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Hi. It is on an Ubuntu Gutsy server.. As mentioned the tomcat applications are working I can just figure out to point domains at the contexts.. cheers 2008/9/26 André Warnier [EMAIL PROTECTED] Can you tell us on what kind of host system you are running this ? It would help guessing

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Sorry - didn't see your complete response... http://www.mrblue.com/mrblu http://www.mrblue.com/mrbluee - already goes to the mrblue context - i want http://www.mrblue.comhttp://www.mrblue.com/mrblueto go the mrblue context. Thanks for the advise - it seems that I do need to set the ROOT

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Mark Thomas
Morgan Cox wrote: Sorry - didn't see your complete response... http://www.mrblue.com/mrblu http://www.mrblue.com/mrbluee - already goes to the mrblue context - i want http://www.mrblue.comhttp://www.mrblue.com/mrblueto go the mrblue context. Thanks for the advise - it seems that I do

RE: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Caldarale, Charles R
From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. Thanks for the advise - it seems that I do need to set the ROOT webapp for each virtual server - anyone got any ideas of how to do this. Read *all* of

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Thanks to everybody whos responded. I shall try these suggestions and let you know how it goes.. 2008/9/26 Caldarale, Charles R [EMAIL PROTECTED] From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread André Warnier
Caldarale, Charles R wrote: From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. Thanks for the advise - it seems that I do need to set the ROOT webapp for each virtual server - anyone got any ideas of how to

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Hi André - between yours and Mark's advice I have managed to do what i needed to. Thank you all - i'm amazed at the level of response... (half expected to look in a month and see no responses.) One last thing - If you upload the .war files with the tomcat manager / host-manager is there a way to

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Mark Thomas
Morgan Cox wrote: Hi André - between yours and Mark's advice I have managed to do what i needed to. Thank you all - i'm amazed at the level of response... (half expected to look in a month and see no responses.) One last thing - If you upload the .war files with the tomcat manager /

RE: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Caldarale, Charles R
From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. One last thing - If you upload the .war files with the tomcat manager / host-manager is there a way to do this Once the Host elements are set up, you

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Morgan Cox
Thanks everybody for your input. I'll try to deploy the manager for each host as suggested. Cheers everybody. 2008/9/26 Caldarale, Charles R [EMAIL PROTECTED] From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Johnny Kewl
- Original Message - From: André Warnier [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 26, 2008 12:10 PM Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. Can you tell us on what kind of host