Josh Pollara wrote:
> I am making a transition from apache http -> tomcat. DNS is all configured 
> correctly etc. example.com and *.example.com point to the same place.
> 
> I'm quite certain that tomcat does not support wildcard virtual hosts, I just 
> wanted to confirm with someone who was positive.

It won't support multiple virtual Hosts, but you can set one webapp to
be the default Host - it will then catch all requests that fail to match
another Host.

Check the Engine config element.

p


> -----Original Message-----
> From: Serge Fonville [mailto:serge.fonvi...@gmail.com]
> Sent: Wed 1/28/2009 4:50 AM
> To: Tomcat Users List
> Subject: Re: virtual hosts
>  
> Hi,
> 
> Is your dns properly configured?
> And what does your environment look like?
> 
> Regards,
> 
> Serge Fonville
> 
> On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
> <jpoll...@millennialmedia.com>wrote:
> 
>> Does Tomcat support wildcard virtual hosts?
>>
>> I'm looking to do something like this:
>>
>>      <Host name="example.com"  appBase="webapps"
>>        <Alias>*.example.com</Alias>
>>      </Host>
>>
>> This does not work though. Any suggestions?
>>
>> -josh
>>
>>
> 
> 


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

Reply via email to