0

I have a scenario like there are two servers

1.On the first server where apache and tomcat are running on different ports.For eg ip would be 172.168.2.19

2.There is a second server where jboss and kvsms are running.for eg ip w ould be 172.168.2.20

3.IF a mobile client is trying to hit the first server with url https://172.168.2.19/....../...../....If one resource he is accesing is in first server and the second item has to be fetched from the second server.

how the request can be redirected to the second server without knowing the second servers ip.

how the tunneling can be done from the first server to the second?

Hope you gys understood the question

1 Answer 1

0

You probably want to set up a reverse proxy with Apache that will deal with the client connections to the backends. There's plenty of documentation here and elsewhere that will tell you how to do this. You'll need to plan out the URIs that will be proxied to the jboss and kvsms services.

9
  • In Apache. Look at their documentation, in particular: httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse
    – cjc
    Apr 4, 2012 at 13:42
  • my question is reverse proxy has to be configured in the first server or the second one
    – developer
    Apr 4, 2012 at 13:54
  • It should be configured in the Apache on the first server.
    – cjc
    Apr 4, 2012 at 13:55
  • can you tell me the steps and instructions to configure reverse proxy
    – developer
    Apr 4, 2012 at 17:42
  • There's documentation all over the Internet. Just search for "apache reverse proxy example" or something like that, and fit the examples into your actual situation.
    – cjc
    Apr 4, 2012 at 19:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .