tags:

views:

26

answers:

2

Hello All,

I am running some sites on IIS 7.0. But yesterday one of my client me to host a Java website. I cant host that website directly so I installed tomcat server on port 8080. Now I want whenever browser send a request for that website it should redirected to my tomcat internally. The client URL should not update.

Regards, Prateek

A: 

You need to use the Tomcat IIS connector. IIS will accept the request from the web browser, send it on to Tomcat, get the response from Tomcat and send it back to the web browser

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

james
Feel I must share. It is an old post so you may not be looking. Have a look at my answer. I came across the Application Request Routing extension for IIS7 today, it is a lot easier and cleaner than the ISAPI redirector.
Bronumski
A: 

I was originally going down the same route as James but there is a much better (and for some reason less known) way.

Since you are running IIS7 you can setup Microsoft Application Request Routing. This will allow you to create a proxy from IIS to Tomcat. Here is a walk through on a blog. If you want to use a host header to filter out the site then have a look here.

Bronumski