I need to set up reverse proxy which will put header value from original request as a parameter to the destination url. The reason for this is purelly application specific and unfortunatelly I cannot change this application. For example I need the folowing https://a.com with http header myparam=abcd i need to be proxied to http://b.com/?val=abcd
Is it possible to configure IIS or Apache to perform such task ? If so, can you explain how ?