Hi,

if I understand your issue right, you want to put the URL into the mapping in 
the URIworkermapping properties

instead of 

/someApp1|/*=worker1
/someApp2|/*=worker2

you write

/app1.you.com|/*=worker1
/app2.you.com|/*=worker2

This way, you can address the tomcat workers with different domains, resolved 
by the IIS. Works also with IIS as an SSL filter.

Regards,

Thomas

Am 02.02.2011 um 01:38 schrieb Conway Liu:

> Hi,
> 
> We are trying to setup a webserver that will serve multiple aspx (..Net) 
> websites 
> and and jsp (Java) websites.
> The webserver is a Windows 2008 R2 64 bit machine with IIS7.
> I have also installed Tomcat 6.0.30 running as a service. The sample web 
> application works with no problem on http://localhost:8080
> 
> Multiple IP addresses have been created on the webserver, so that each IP 
> address will be used for one website.
> All websites should be running on port 80, regardless if aspx website or jsp 
> website.
> I believe to achieve this, we need to use the Tomcat connector for IIS, so 
> that 
> IIS will take the request and forward to Tomcat to server jsp pages.
> 
> I have gone through 
> http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
> and http://www.iisadmin.co.uk/?p=72
> and successfully got IIS7 to pass request to Tomcat and served the sample jsp 
> pages on port 80.
> Then I'm stuck...
> 
> It seems like the Tomcat service only serves applications from one location 
> ($CATALINA_HOME)
> But we don't want to run the website as
> www.ourserver.com/website1
> www.ourserver.com/website2
> 
> Instead, we need to run them as
> www.website1.com
> www.website2.com
> which is why we have created multiple IP addresses on the server.
> 
> And the jsp websites will sit in seperate physical folders on the server, for 
> example:
> C:\website1\
> C:\website2\
> 
> I've tried to play around with workers.properties, uriworkermap.properties, 
> but 
> without success.
> I think there's something to do with $CATALINA_BASE that I need to configure, 
> but I don't know how.
> So now I beg to know exactly what and how to configure for both jsp websites 
> to 
> be served by the Tomcat service, receiving request from IIS7.
> 
> If you can give as much detail as possible or point me to any websites that 
> have 
> detailed information on this matter, I am forever greatful.
> 
> Regards and thanks
> Conway
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 


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

Reply via email to