Forum Discussion
BIG-IP : http profile headers
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
Can an HTTP Profile add the following header :
-
a custom header that references BIG-IP's internal system variables ?
Request Header Insert = "OriginalURI: [HTTP::uri]"
-
multiple headers
Request Header Insert = "X-Forwarded-Proto:[HTTP::proto]; X-Forwarded-Host:[HTTP::host]"
NOTE: not sure if [HTTP::proto] or [HTTP::host] are correct names
2 Replies
- Kevin_Stewart
Employee
I don't believe there's a way to add multiple headers in the Request Header Insert option, but you can definitely use internal system variables:
FOO:[HTTP::host] - Kevin_Stewart
Employee
Adding a header in the Request Header Insert option of the HTTP profile requires a specific format:
name:valueSo in the example, I'm inserting a header named FOO with a value that expands from the [HTTP::host] command. Can you elaborate on what you mean by "internal system variables"?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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