> From: Serge Fonville [mailto:[EMAIL PROTECTED]
> Subject: Re: SSL Host
>
> If I access https://*.autumn.nl (which shouldn't exist, I get the
> defaulthost, instead I wan't to get a 404 of some sort,
> indicating that that site does not exist?

A request that has a domain that resolves to your IP address but doesn't match 
your declared <Host> or <Alias> names will be sent to the default <Host> for 
the <Engine>.  If you want all requests with a non-approved domain to be given 
a 404, keep the default <Host> separate from the others, and don't deploy 
*anything* under it (unless you want to present a pretty error page, in which 
case create a ROOT webapp for the default <Host> that does only that).  
Alternatively, use a valve to reject such requests.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to