Java application server behind IIS 7.5 on Windows Server 2008
Posted
by
perissf
on Server Fault
See other posts from Server Fault
or by perissf
Published on 2012-05-26T11:40:00Z
Indexed on
2014/06/09
15:30 UTC
Read the original article
Hit count: 338
I have a Java application server (GlassFish, indeed, but the problem is the same for any other application server, I guess), running on port 8080. And I have IIS 7.5 listening on port 80 as by default configuration.
I want to avoid people typing the port because it's unprofessional. So I want that when somebody types
http://myserver
the traffic is directed to IIS. And this is how it already works now. But I also want that when somebody types
http://myserver/java
the traffic is directed to port 8080 and consequently my GlassFish splash screen is displayed. If I have deployed an application on GlassFish under context root app1
, typing
http://myserver/java/app1
should access the application.
How can I do this? I have tried with adding some rules with the URL Rewrite
utility from IIS7.5 UI, but this shows the port after the rule has rewritten the url, and I want to avoid it.
© Server Fault or respective owner