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.0hoolio
Cirrostratus
Joined September 08, 2005
hoolio
Cirrostratus
Joined September 08, 2005
skelle_296888
Nimbostratus
Mar 21, 2018Hi 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.