Long story short: We have remote dev server. Which contains several Symfony2 instances. Like example.com/page1 and example.com/page2 are different AWS instances with different applications. One of those (i.e. /page1) is my responsibility. And I am able to develop it remotely and locally. Obviously locally is fastest way, but there're list of reasons why it's better to develop remotely when whole applications work at once under similar domain. So I want to make example.com/page1 to refer to my local instance, so I don't send files via FTP every Cmd+S.
From Apache settings I can map some local URL to the Remote one, doing it with ProxyPass
ProxyPass /app/ http://example.com/app/
What I need, is exactly the same, but vice versa.
I have two the same web applications running remotely and locally.
Remote: https://example.com:33333/app/
Local: http://localhost:22222/app/
I need to get it work in this way:
https://example.com:33333/homepage/
->https://example.com:33333/homepage/
https://example.com:33333/app/
->http://localhost:22222/app/
Keeping the remote URL in Browser address bar.
Is that possible to set it up on my end (not from ProxyPass on remote side)
Probably some Chrome Extension, or Proxy Application?