Rewrite Host Header to Server Name
Problem this snippet solves: On each HTTP request, the selected pool member IP address is looked up against a datagroup and the corresponding hostname is inserted in the HTTP host header.
The iRul...
Published Mar 18, 2015
Version 1.0hooleylist
Cirrostratus
Joined September 08, 2005
hooleylist
Cirrostratus
Joined September 08, 2005
skelle_296888
Mar 21, 2018Nimbostratus
Hi paymon, maybe a bit late (2018 *cough*) but here are some ideas.
- You could configure your AppServer that its sending relative redirects and no absolute ones.
- Configure your AppServer to accept "X-Forwarded-Host"-Headers
- Create an iRule with a "HTTP_RESONSE"-Event wich is scanning for redirects and modify the Location-Header
Have a nice day.