You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Oxley <da...@staffplanner.co.uk> on 2002/06/12 18:13:36 UTC

Port based virtual hosting

In Tomcat 4 a <Host> node allows name based virtual hosting. How should this
be set up to handle port based virtual hosting.

i.e. should this work:

      <Host name="www.host.co.uk:80" debug="0"
appBase="/var/sites/webapps/www.host.co.uk:80" unpackWARs="false"
autoDeploy="true">

                 ........

      </Host>

      <Host name="www.host.co.uk:443" debug="0"
appBase="/var/sites/webapps/www.host.co.uk:443" unpackWARs="false"
autoDeploy="true">

                 ........

      </Host>

 

Dave.