Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4730

Redirect request transparently and change path

$
0
0

@Sven_Lowry wrote:

I need to redirect a web request as follows, and can’t get it working with HAProxy.
Original URL:
http://mywebpage.com/webservices/index.asp?param1?parm2

Redirect transparently (so client doesn’t see URL change) to:
https://myazuresite.azurewebsites.net/FunctionName?code=AzureFunctionID&url=/webservices/index.asp?param1?parm2

I can get it working with:
http-request redirect prefix https://myazuresite.azurewebsites.net/FunctionName?code=AzureFunctionID&url=

But this changes the URL presented to the user to that address, which will break application code.

Does anyone know how to do this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>