Ee

83 2

I've an asp web site on a server, and now there's a web site developed with jsp, which can be used to configure apache to let the jsp run without affecting the After all, the 80 port can only have one.

2 Answers

102 5

You need to know what's called the reverse agent, and look at this: http://baike. Baidu. com/view/1165595. H..

Using reverse agents, users request your reverse proxy, and then reverse agent forwards requests to other servers in the intranet ( or other ports on this machine ).
For example:

1. Your reverse agent listens for 80 ports.
2. Asp on 8080 ports, and site domain names are www. A. Com.
3. Jsp on 9090 ports, and site domain names are www. B. Com.

A reverse proxy finds that the requested domain name is www. A. Com so that the request goes to 8080 ports let asp handle the request, if the requested domain name is www. B. Com, let the jsp handle the request to 9090 port. I know the nginx is so configurable that apache should also be able to.

...