Hi Bart,

I'm not aware of any other way to do it.
I only wanted to know whats wrong with setting that sub domain
(test.example.com) as the default host?
are we missing  some information that needs to be taken care of?


Yassine


On Mon, Mar 30, 2009 at 1:59 PM, Bart Ophelders
<bartopheld...@hotmail.com> wrote:
>
> I don't like to put it as default, but if there is no other way..
>
> Thanks!
>
> -Bart
>
>> Date: Mon, 30 Mar 2009 12:39:42 +0100
>> From: p...@pidster.com
>> To: users@tomcat.apache.org
>> Subject: Re: virtual hosts
>>
>> Bart Ophelders wrote:
>> > Thanks for the quick response!
>> >
>> > Isn't it possible to do something like this:
>> >
>> > <host name="*.test.example.com" appBase="webapps"/>
>>
>> Not quite like that.
>>
>> <Engine defaultHost="test.example.com">
>>
>>   <Host name="test.example.com" ... >
>>
>> </Engine>
>>
>>
>> Will result in all traffic that arrives at IPs specified in your
>> Connectors, but that does not conform to another Host/Alias definition
>> being delivered to the webapps of the defaultHost.
>>
>> p
>>
>>
>>
>> > -Bart Ophelders
>> >
>> >> Date: Mon, 30 Mar 2009 12:36:09 +0200
>> >> Subject: Re: virtual hosts
>> >> From: elas...@users.sourceforge.net
>> >> To: users@tomcat.apache.org
>> >>
>> >> Hi,
>> >>
>> >> i hope i undertstood what you mean if so, look for the loadbalancer
>> >> application shipped with tomcat which does something similar.
>> >>
>> >>
>> >>
>> >> On Mon, Mar 30, 2009 at 12:29 PM, Bart Ophelders
>> >> <bartopheld...@hotmail.com> wrote:
>> >>> Hi,
>> >>>
>> >>> I would like to know if it is possible to let tomcat redirect ANY url 
>> >>> ending with for example test.example.com to a certain webapp.
>> >>>
>> >>> Thanks in advance!
>> >>>
>> >>> -Bart Ophelders
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> --
>> >> Yassine Elassad
>> >> Bonn, Germany.
>> >> Fon : +49 228 97629355
>> >> Mobile : +49 157 74519666
>> >>
>> >> PEACE :
>> >> ( P ) Positive ( E ) Energy ( A ) Always ( C ) Correct ( E ) Errors.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> >> For additional commands, e-mail: users-h...@tomcat.apache.org
>> >>
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>



-- 
--
Yassine Elassad
Bonn, Germany.
Fon : +49 228 97629355
Mobile : +49 157 74519666

PEACE :
( P ) Positive ( E ) Energy ( A ) Always ( C ) Correct ( E ) Errors.

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

Reply via email to