IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local
- by Sk8erPeter
In brief:
IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under http://my_app.local (and NOT the default Tomcat-site [which you can see below]).
How can I do that?
Longer explained:
I have IIS 7 (7.5.7600.16385) and Apache Tomcat/7.0.22 installed.
I deployed an application (let's call it "my_app") in Tomcat,
which now can be reached at http://localhost:8080/my_app, works
fine. I added a new web site in IIS panel with the path of the
Tomcat deployed my_app, which looks like this: "c:\Program
Files\Apache Software Foundation\Tomcat 7.0\webapps\my_app"
I binded the host name my_app.local.
After that, I configured isapi_redirect.dll like this (or
that).
Now, when I open http://my_app.local, I can see the default Tomcat
site (see below).
BUT under http://my_app.local I would like to see the same content as
under http://localhost:8080/my_app.
How can I do that? Thank you very much in advance!!
my config files:
isapi_redirect.properties (I made a dir junction to c:\tomcat, so this also works :) )
workers.properties
uriworkermap.properties
rewrites.properties (empty)