Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

integrate apache and tomcat server...

Status
Not open for further replies.

lovekang

Programmer
Feb 16, 2006
86
0
0
KR
The system is installed on windows 2000 server.

in it, tomcat 5, and apache 2 are installed.
and tomcat has 2 applications(contexts) which use different port numbers.

1) I have to hide ports from users.
2) users can access the two contexts with different hosts like "sys1.abc.com" and "sys2.abc.com".

number 2 is achieved by dns settings.
and I think integrating apache and tomcat can be the solution of 1.

anyone has documents or manuals?

thanks.
 
I mean
tomcat application sys1.abc.com:8080 can be accessed
just with "sys1.abc.com" without port number
and tomcat application sys2.abc.com:8081 can be accessed just with "sys2.abc.com" without port number.
 
The port is defaulted on the client's browser. Http servers are assumed to be on port 80 and this does not therefore need specifying. Likewise a client requesting an Https resource doesn't need to specify port 443 since this is again the default. If you expose an http server on a different port, the client browsers will need an explicit port, or else change the default (don't know how, but doing so will mean they have to explicitly specify port 80 when accessing other http servers on the web).

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top