You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lars Nielsen Lind <mo...@tiscali.dk> on 2003/05/08 18:16:21 UTC
Apache-Tomcat [with www and without]
Hi.
How do I configure virtual domains with:
www.domainname.com
and
without:
domainname.com
the smartest way?
Best regards,
Lars Nielsen Lind
Re: Apache-Tomcat [with www and without]
Posted by Giorgio Ponza <gi...@opla.it>.
i think is
<Host name=www.domainname.com .....>
<Alias>domainname.com</Alias>
...
</Host>
Giorgio
----- Original Message -----
From: "Lars Nielsen Lind" <mo...@tiscali.dk>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, May 08, 2003 6:16 PM
Subject: Apache-Tomcat [with www and without]
Hi.
How do I configure virtual domains with:
www.domainname.com
and
without:
domainname.com
the smartest way?
Best regards,
Lars Nielsen Lind
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Apache-Tomcat [with www and without]
Posted by John Turner <to...@johnturner.com>.
Set up a Host container in server.xml for one or the other, then use
<Alias></Alias> for the other:
<Host name="domain.com" .... >
<Alias>www.domain.com</Alias>
...
...
</Host>
John
On Thu, 8 May 2003 18:16:21 +0200, Lars Nielsen Lind <mo...@tiscali.dk>
wrote:
> Hi.
>
> How do I configure virtual domains with:
>
> www.domainname.com
>
> and
>
> without:
>
> domainname.com
>
> the smartest way?
>
>
> Best regards,
>
> Lars Nielsen Lind
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org