You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hua Hou <hu...@handango.com> on 2003/04/23 22:10:05 UTC
Virtual hosting (Tomcat + IIS)
I am using tomcat 4.1.10 + IIS 5.0. I need to support multiple web sites
running from the same machine with the
same tomcat instance. I searched though this mailing list as well as the
archive on the web, but I didn't get any help because everything for
virtual hosting is with apache and tomcat combination.
Here is the configuration on my machine:
webapps\siteA
webapps\siteB
I would like to http://siteA.mycompany.com points to webapps\siteA context
and http://siteB.mycompany.com points to webapps\siteB context. How should I
configure on both IIS and tomcat side?
Please help.
Thanks.
Hua
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Virtual hosting (Tomcat + IIS)
Posted by Bill Barker <wb...@wilshire.com>.
<disclaimer>
I don't use IIS at all myself, so everything I may say may be wrong
(hopefully Nacho and/or Mladen will step in and prove that I don't know what
I'm talking about :)
</disclaimer>
It should be much like the Apache stuff. I'd start by adding the Listener:
<Listener className="org.apache.ajp.tomcat4.config.IISConfig" />
(following the patterns from
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Configuring%2
0Tomcat.
"Hua Hou" <hu...@handango.com> wrote in message
news:93602B6F9AA71D4AA10B6084F7B150A105A0D4C3@mailserver.gopda.com...
>
> I am using tomcat 4.1.10 + IIS 5.0. I need to support multiple web sites
> running from the same machine with the
> same tomcat instance. I searched though this mailing list as well as the
> archive on the web, but I didn't get any help because everything for
> virtual hosting is with apache and tomcat combination.
>
> Here is the configuration on my machine:
>
> webapps\siteA
> webapps\siteB
>
> I would like to http://siteA.mycompany.com points to webapps\siteA context
> and http://siteB.mycompany.com points to webapps\siteB context. How should
I
> configure on both IIS and tomcat side?
>
> Please help.
>
> Thanks.
>
> Hua
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org