Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
On 26/08/2010 14:52, André Warnier wrote: > Pid wrote: >> On 26/08/2010 13:40, André Warnier wrote: >>> arnaud icard wrote: >>> ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) >>> No. I mean no, it is n

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
Pid wrote: On 26/08/2010 13:40, André Warnier wrote: arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) No. I mean no, it is not exactly that. For the defaultHost, it does not matter very much, beca

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
On 26/08/2010 13:40, André Warnier wrote: > arnaud icard wrote: > ... >> >> Yes this is where I made a mistake. >> The parameters "name" and "defaultHost" must be the FULL name (i.e. >> hostname.domain) >> > No. I mean no, it is not exactly that. > > For the defaultHost, it does not matter very mu

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
I think I understand what you're explaining. I keep that in mind if I encounter in the future some strange behaviours from the non-default applications. Thanks, arnaud. André Warnier a écrit le 26/08/2010 14:40: arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "na

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) No. I mean no, it is not exactly that. For the defaultHost, it does not matter very much, because it is the default and anything that does not ma

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
André Warnier a écrit le 26/08/2010 14:14: arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : / ... / When connecting to appli1.test.fr, I am redirected to the default ROOT content (which means to the tomcat00c host).

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : / ... / When connecting to appli1.test.fr, I am redirected to the default ROOT content (which means to the tomcat00c host). I am a little l

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
8/2010 09:21: Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp i

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
ot; resolveHosts="false"/> > > / > > When connecting to appli1.test.fr, I am redirected to the default ROOT > content (which means to the tomcat00c host). > > I am a little lost now in this tomcat jungle. No black smoke so far > hopefully :) >

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
l.com] Subject: Re: How to configure different default webapp in function of requested hostname on one tomcat server You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Also look at: http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts (Don

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Felix Schumacher
Hello, even if you decided to remove httpd and go directly with virtual hosts in tomcat, there are two things in your httpd config, which could be advanced (see inline below). On Wed, 25 Aug 2010 18:13:28 +0200, arnaud icard wrote: > Hello, > > I guess my subject isn't clear at all so here is

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp in function of requ

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Hassan Schroeder
On Wed, Aug 25, 2010 at 9:13 AM, arnaud icard wrote: > The purpose of this server is to host multiple webapps (this one for > instance : http://www.jasig.org/cas) > For each of these webapps, we will contact the server with different urls : > > cas.domain.fr for the CAS webapp > ent.domain.fr for

RE: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Caldarale, Charles R
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] > Subject: Re: How to configure different default webapp in function of > requested hostname on one tomcat server > You can configure the host element as per > http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Als

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Wesley Acheson
Hi, You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html On Wed, Aug 25, 2010 at 6:13 PM, arnaud icard wrote: > Hello, > > I guess my subject isn't clear at all so here is my problem : > > I have 1 server with Apache2/Tomcat6 installed. > The purpos

How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread arnaud icard
Hello, I guess my subject isn't clear at all so here is my problem : I have 1 server with Apache2/Tomcat6 installed. The purpose of this server is to host multiple webapps (this one for instance : http://www.jasig.org/cas) For each of these webapps, we will contact the server with different ur