Score:0

Reverse proxy issue with secondary site

cn flag

I have httpd.conf configuration like below,

SSLProxyEngine on
ProxyPassMatch ^/(.*)$ https://mysite1.com/$1
ProxyPassReverse ^/(.*)$ https://mysite1.com/$1

When I am running httpd and over the browser when I do http://localhost, it's redirects to the landing page of site https://mysite1.com perfectly.

Now on button click over landing page, browser navigates to other site https://my-OTHER-site1.com/oauth2/....

Question, How I can configure reverse proxy for other site https://my-OTHER-site1.com along with my site https://mysite1.com?

I tried below config, but not working, please suggest?

SSLProxyEngine on
ProxyPassMatch ^/(.*)$ https://mysite1.com/$1
ProxyPassReverse ^/(.*)$ https://mysite1.com/$1
ProxyPassMatch ^/(.*)$ https://my-OTHER-site1.com/$1
ProxyPassReverse ^/(.*)$ https://my-OTHER-site1.com/$1
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.