Forum Discussion
Oct 21, 2020
Hello.
"www.def.com" should be configured as a pool member resource.
You can use a rewrite profile or just modify the irule to replace these specific headers:
GET /URL=www.def.com/ghi HTTP/1.1
Host: www.abc.com
To get this:
GET /ghi HTTP/1.1
Host: www.def.com
If "www.def.com" page has references to relative path resources (let say href="/images/myimage.png") you should take this into account replacing the payload during the HTTP_RESPONSE.
Besides of URI and host header, there exist other headers that could need to put an eye of them.
- Cookies
- Content-Security-Policies
- Etc
The best option is to connect the backend resource directly (with browser inspector) and try to investigate how your site is in order to plan your scope.
Regards,
Dario.