Author |
|
rajibbc
Joined: 10 Jul 2009 Posts: 3
|
Posted: Tue 14 Jul '09 4:41 Post subject: How do i acheive this |
|
|
I have an intranet application.
The application servers are distributed and there are 25 of them.
We have two domains 97.X.X.X and 10.X.X.X.
Communication between 97.X and 10.X is achievable via a proxy.
We have set up an Apache server on an windows box which is doing all the redirecting.
==========
With these backdrops what i want to acheive is the following.
1.User types the proxy url on the browser and depending on the name .. the proxy route it to corresponding application server.
-----This is already acheived using the following in the http.conf file
RedirectMatch /krnt2$ http://10.184.105.188:4002/huaweigsm_data/view
RedirectMatch /krnt2/analysis(.*) http://10.184.105.188:4002/huaweigsm_data/analysis$1
This ensures when user types http://97.253.7.230:8080/krnt2 the application server is hit at http://10.184.105.188:4002/huaweigsm_data/view and every thing goes smooth.
2. With the above in picture.. the requirements are
a> that the browser url in this process changes to http://10.184.105.188:4002/huaweigsm_data/view .. which is not desired .. I want to have http://97.253.7.230:8080/krnt2.. in the browser url .
b>Since users in 10.X can directly reach the application server at http://10.184.105.188:4002/huaweigsm_data/view.. what i want is depending upon the IP of the user if the url change in the browser can be directed .
I am a newbie .. I have the apress book of mod_rewrite with me.
Any insight onto it will be highly appreciated.
Cheers /Rajib |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Tue 14 Jul '09 8:08 Post subject: |
|
|
sound like you need reverse proxy.
Search this site for "reverse proxy" or google it. |
|
Back to top |
|
rajibbc
Joined: 10 Jul 2009 Posts: 3
|
Posted: Tue 14 Jul '09 13:00 Post subject: |
|
|
Thanks for the reply..
I have read through reverse proxy...
I also felt proxypassreverse may solve ny case of url in browser..
But could't solve it though...
need some handholding... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 14 Jul '09 16:15 Post subject: |
|
|
Please post what you tried with reverse proxy. |
|
Back to top |
|
rajibbc
Joined: 10 Jul 2009 Posts: 3
|
|
Back to top |
|