tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Apache Tomcat 7 on windows 2008: how to host mutiple domains
Date Mon, 13 Jul 2015 17:07:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Joe,

On 7/10/15 6:37 PM, joegreen690 wrote:
> Will this work. I want 123.abc.com to go to xyz.abc.com. So
> 123.abc.com is an alias for xyz.abc.com. Both the sites are
> pointing to the same appbase.
> 
> <Host name="www.knowledgefolders.com" 
> appBase="D:/webpage_demos/akc" unpackWARs="true" autoDeploy="true"
>  xmlValidation="false" xmlNamespaceAware="false">

What is the defaultHost setting for the enclosing <Engine>? You might
not even need all of those <Alias> entries.

> <Alias>knowledgefolders.com</Alias>
> 
> <Alias>www.knowledgefolders.net</Alias> 
> <Alias>knowledgefolders.net</Alias>
> 
> <Alias>www.knowledgefolders.org</Alias> 
> <Alias>knowledgefolders.org</Alias>
> 
> <Alias>www.satyakomatineni.com</Alias> 
> <Alias>www.kavithakomatineni.com</Alias>
> 
> <Context path="" docBase="D:/webpage_demos/akc" debug="0"
> reloadable="false"/> <Context path="/akc"
> docBase="D:/webpage_demos/akc" debug="0" reloadable="false"/>

You should not have <Context> elements configured in your server.xml.
Instead, please put your <Context> elements into individual files in
conf/[engine]/[host]/[appname].xml

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVo/BhAAoJEBzwKT+lPKRYaJEP/jU0nBDYgNhbRbEoO9TuLOws
SK2VDOUB3DbbO2FuSG4ySLj9AzoJgQWsQZSuU2WnZ3+qSeQHx3X0cAfQUJ7kFKhq
IflYj19DIrjhfJ0RE2gBgR9t85kyJGKqa0Gk0RorCrnOLlkCdOwXkwR4UPZeaJd7
JH1o3arDAn+tcqvWlerNs2UnJDT/2BzhlIm7kcQADYbxWU1jxI0q+JpOgWn/bBjn
e5++EfIztegyGGfBb4zRiWFwWwsPPIGenDztmqSEuTQ/B5xWo8Hu/RBQ1pgBzFAB
cZGWI/URjmpzrRsSiYB2wSKsMmYrcfQWKNARvra8sw2g2se7IflwPtFEG9wm+gTY
MRUbEF+SXzJ47Y9KeUhj4ZiCMp5AX0+i/mWieGkDyX3rrrcAh8kUbX/k8tqaYOJ1
S+poXb9GLFM3+PZbMGiaAe5p7U6q5zWhNLdQ/IlSM7I+Sp1hj0uJGl513KdEaAUg
aoJZqrj6QovbohJWbSaqIUeaBwpXFcbIJWCurNZn66fS72DQJEyASh08RMDUZWiy
EjoW5P5CUrXaSWdyvXlOUIGxv9D1LWcf7ibM6vQYEZiheM9fXLibTRJP48QQeZ5v
FcPSWADuj+YU1L/jZ2u+ttVQPjMwoOWla7xzRo/6ckeCedDXRx3sOQNf0oKK80oH
faN4A2SEd4PhtGMfITHd
=PhiX
-----END PGP SIGNATURE-----

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


Mime
View raw message