How can I configure a reverse proxy for same context roots
Hi,
I am trying configure reverse proxy for jazz 3.0.1 with old the context roots:
CCM server: https://ccm.ca.sbrf.ru:9443/jazz
Thanks in advance!
RM server: https://rm.ca.sbrf.ru:9443/rdm QM server: https://qm.ca.sbrf.ru:9443/jazz I tried to use ProxyPass \jazz for https://ccm.ca.sbrf.ru:9443/jazz and ProxyPass \jazz for https://qm.ca.sbrf.ru:9443/jazz, but but it does't work. Are there any example or trick in configuring HTTP server to treat same context roots in different way? |
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Feb 05 '13, 2:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 05 '13, 4:31 p.m.
Ruslan,
I don't fully understand your question, probably because the information on QM is missing. However, this is what I know about feasibility of reverse proxies. See https://jazz.net/library/article/831 for more topology information and the library for additional content.
I am not sure if there is a solution for the setup you use. The only way I see would be very tricky, using server rename and changing the context root of the applications, plus an install with a different context root and manually moving the restore data into the new install. Server rename does not support this kind of scenario today, for what I am aware of and I would not suggest to go down this route today. Comments Some clarifications after Ruslan: Current Public URI for ccm and qm are: It was upgraded from 2.x so we have to use "old" context roots. We would like to migrate to enterprise toipology from existing all-on-one-machine (and no proxy) deployment. CLM version is 3.x so we cannot change Public URI before moving to enterprise topology with reverse proxy. Question is if there's a way to setup reverse proxy to distinguish incoming requests with same context root. All examples describe "classic" case with default, different context roots for each application.
Ralph Schoon
commented Feb 05 '13, 3:44 a.m.
| edited Feb 05 '13, 3:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of a way to do this. For one thing the ports are different and the context root is not. You can't have the same proxy listen to two different posts, can you? So you would need two seperate proxies serving the original public URI's. What would you hope to gain with this?
|
I want make forwarding from reverse proxy to targets server with same context root.
Example: ProxyPass \ccm https://ccm.ca.sbrf.ru:9443/jazz ProxyPass \qm https://qm.ca.sbrf.ru:9443/jazz Am i understand correctly, that before configuring reverse proxy i need change the context roots for the target servers(CCM server: https://ccm.ca.sbrf.ru:9443/jazz and QM server: https://qm.ca.sbrf.ru:9443/jazz) ? Can't i to use “rewrite” rules, other Apache tricks or this configuration? |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.