• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IIS url proxy to Apache Tomcat

 
Shin Yuh Yong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic