Thanks for all the help.  I forgot to add the Jakarta iasapi plug in as a
virtual directory on the virtual host I was adding in IIS.

-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 8:28 AM
To: Tomcat Users List
Subject: Re: Multiple Virtual Hosts on 1 instance of Tomcat


Caveat: I don't use IIS.  I don't use JK2.

You need full setup in uriworkermap.properties for the second virtual host.

You also need some sort of virtual directory or something created within
the webroot (again, I don't use IIS but that is what I remember from
reading numerous posts on this list).

Basically, as far as I know, everything you did for "localhost" or
"host1" you have to do again for each successive virtual host, short of
installing the redirector.

John

[EMAIL PROTECTED] wrote:

> I'm not sure what configuration the IIS connector would need.  I'm using
the
> redirector plug in 2.0 that points to the workers file.  I thought that
was
> all I needed for the IIS part.
>
> As for doesn't work.  I get a 404-error page from IIS when I go to the web
> page.
>
> -----Original Message-----
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 4:15 PM
> To: Tomcat Users List
> Subject: Re: Multiple Virtual Hosts on 1 instance of Tomcat
>
>
> Can you be more specific than "doesn't work"?
>
> Have you done all of the configuration with your IIS connector required
> for the second virtual host?
>
> John
>
> [EMAIL PROTECTED] wrote:
>
>
>>Hello.  Thanks for taking the time to read this.  First of all, I am
>>assuming that virtual hosts are where you have more than one url pointing
>
> to
>
>>a web server.  Each url has it's own data.  Not redirection.
>>
>>I have a web server that handles 5 virtual hosts using IIS.  I've
>
> configured
>
>>tomcat to work with IIS and serve JSP pages for 1 of the virtual hosts.  I
>>used the default server.xml file that came with the installation.
>>
>>So my server.xml file looks like this.
>>
>>    <Engine name="Standalone" defaultHost="localhost" debug="0">
>>   
>><Host name="www.site1.com" debug="0" appBase="webapps"
>>       unpackWARs="true" autoDeploy="true">
>>
>>        <Logger className="org.apache.catalina.logger.FileLogger"
>>                 directory="logs"  prefix="psc_log." suffix=".txt"
>>                    timestamp="true"/>
>>
>><Context path="" docBase="E:/Inetpub/wwwroot/www.site1.com" debug="0"
>>reloadable="true" />
>>
>></Host>
>>
>><Host name="www.site2.com" debug="0" appBase="webapps"
>>       unpackWARs="true" autoDeploy="true">
>>
>>        <Logger className="org.apache.catalina.logger.FileLogger"
>>                 directory="logs"  prefix="psc_log." suffix=".txt"
>>                    timestamp="true"/>
>>
>>        <Context path="" docBase="E:/Inetpub/wwwroot/www.site2.com"
>>debug="0" reloadable="true" />
>>
>>
>>      </Host>
>></Engine>
>>
>>Site1 works.  Site 2 doesn't.  Any idea what I'm doing wrong?
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to