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 requested

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 arnaud.ic...@univ-avignon.fr wrote: Hello, I guess my subject

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

2010-08-26 Thread arnaud icard
httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : /Engine name=Catalina defaultHost=tomcat00c ... Host name=tomcat00c appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Valve

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 11:39, arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : /Engine name=Catalina defaultHost=tomcat00c ... Host name=tomcat00c appBase=webapps unpackWARs=true autoDeploy=true

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

2010-08-26 Thread arnaud icard
Right the parameter name in host and the parameter defaultHost in engine need the server's FQDN. I didn't realize that ! Thanks a lot Pid. Have a great day. Best regards, arnaud Pid a écrit le 26/08/2010 13:54: On 26/08/2010 11:39, arnaud icard wrote: httpd is stopped. Here is what I

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 : /Engine name=Catalina defaultHost=tomcat00c ... Host name=tomcat00c appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false

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 : /Engine name=Catalina defaultHost=tomcat00c ... Host name=tomcat00c appBase=webapps unpackWARs=true autoDeploy=true

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 match

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

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 much, because it is

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, because

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 not exactly that. For the

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

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 arnaud.ic...@univ-avignon.fr wrote: Hello, I guess my subject isn't clear at all so here is my problem : I have 1 server with Apache2/Tomcat6

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 Also look at:

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 arnaud.ic...@univ-avignon.fr 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