André Warnier wrote:
Joshua Gregoire wrote:
r18test2.kcc.edu brings me to the root drectory of the site in IIS. I
have a redirect set on the default page in IIS to go to
http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2
The url in the
browser then changes to http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2


The first question is then : if you are anyway redirecting everything to Tomcat, why do you need to have IIS in front ?
Why not just set Tomcat to answer port 80, and get rid of IIS ?

The second item is :
In the URL bar, the browser displays what its own idea is, about where it got the current page from. The same, just in other words : nothing which the server sends to the browser, is displayed in the browser's URL box. The same again, in yet other words : try to create a page on the server which writes something into the browser's URL bar. Or rather, don't try, because you would be losing your time : you can't. The server does not have access to the browser's URL bar.

So, the fact that the browser's URL bar displays "10.10.11.90" is due to the fact that the browser obtains the current page from the host named "10.10.11.90". And the one thing that can tell it to get the page from there, is the redirect response from IIS. Concentrate on that one. How /exactly/ do you do this redirect from the IIS homepage to the Tomcat server ?


Something else strikes me (and I wonder why it did not before) :
You say that you have IIS + the isapi_redirector, to connect IIS to Tomcat.
But if you really "redirect" calls to the homepage of IIS, to Tomcat's port 8080, you are not using the isapi redirector at all. You are just "bouncing off" once from the IIS homepage, and all the rest happens directly between the browser and Tomcat, on port 8080. Something tells me that you are not quite using this kind of setup as it is meant to be used.


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

Reply via email to