So something like this would work.
Host name=www.domain.com debug=0 appBase=/usr/local/domain.com
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Aliasdomain.com/Alias
Aliasdomain.net/Alias
Aliaswww.domain.net/Alias
Context path= docBase=/usr/local/domain.com debug=0/
/Host
From: Andoni [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: two domains, one site
Date: Fri, 05 Nov 2004 11:53:49 +
Hi,
No, you only need the one host and then an alias/alias tag with the
other domain.
HTH,
Andoni.
PS: Ref is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Host%20Name%20Aliases
A.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 04, 2004 5:27 PM
Subject: two domains, one site
If I have two domains pointing to the same webapp (long story on why two
domains). Do I need to have two Hosts defined inside the container
Engine ...
Host name=localhost ...
or
Host name=www.domain.com ...
Host name=www.domain.us ...
_
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The
new
MSN Search! Check it out!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Take advantage of powerful junk e-mail filters built on patented Microsoft®
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]