Forum Discussion
Fletcher_Cocquy
Mar 19, 2010Nimbostratus
x-forwarded-host
Hi, we have our BigIP adding the x-forwarded-for header, but we have a new app with a new requirement for the x-forwarded-host header.
What is the recommended way to do this?
iRule?
...
hooleylist
Mar 22, 2010Cirrostratus
I don't think you can insert multiple header name/values with an HTTP profile. There's probably a request for enhancement to support this. You could open a case with F5 Support to ask to have your case attached to the RFE.
In the meantime, you can use an iRule to insert multiple HTTP headers:
when HTTP_REQUEST {
Insert GOHTTPS and x-forwarded-host with corresponding values
HTTP::header insert GOHTTPS 1 x-forwarded-host [HTTP::host]
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects