aspose file tools*
The moose likes Tomcat and the fly likes IIS url proxy to Apache Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "IIS url proxy to Apache Tomcat" Watch "IIS url proxy to Apache Tomcat" New topic
Author

IIS url proxy to Apache Tomcat

Shin Yuh Yong
Greenhorn

Joined: Jun 05, 2006
Posts: 1
Hi All,

I am new to this thus need expert advise on it. I have just setup IIS6.0 on windows2003 and in the same box, I have apache tomcat 5.5. To allow proxying from iis to tomcat, I have downloaded and configured tomcat-connector JK2. I have successfully configure to the below setup:

http://www.test.org/test/index.jsp

BUT one of my virtual URL is a htm+jsp website in ...Tomcat5.5\webapp\test
In my IIS 6.0, I have the home directory set to ...Tomcat5.5\webapp\test with jakarta virtual directory created to handle all the jsp files. In my tomcat /conf/workers.properties, I am stuck!!! I do not know how to setup in such a way whereby it will show http://www.test.org/index.jsp instead of http://www.test.org/test/index.jsp. I have tried to change the appBase to \webapp\test and it return HTTP 400 when I test.

Please help to advise how can I configure my proxy from IIS to tomcat in order to strip out the directory, ie. http://www.test.org/index.jsp instead of http://www.test.org/test/index.jsp

Please help...urgent
leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
You might want to look at these examples:

Courtesy of Ben Souther

Check out the SimpleServlet example. Look for the web.xml file.
[ June 05, 2006: Message edited by: leo donahue ]

Thanks, leo
 
jQuery in Action, 2nd edition
 
subject: IIS url proxy to Apache Tomcat