Forum Discussion
Robert_47833
Mar 21, 2015Altostratus
irule VS http profille
I have one interesting question which confuse me a lot today since I learn something new in BIGIP.
My questions are:
1:If I removed one header in HTTP profile,but add same header back in irule,...
- Mar 21, 2015
I give it a test:
root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm profile http customer_http ltm profile http customer_http { app-service none defaults-from http header-erase Headertest proxy-type reverse } root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm rule http_header_test ltm rule http_header_test { when HTTP_REQUEST { HTTP::header insert "Headertest" "123" }
}
Then test with curl 10.1.1.73 -H "Headertest: 123", from the capture it shows http header Headertest still in the request.
he_qiang_137361
Mar 21, 2015Historic F5 Account
I give it a test:
root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm profile http customer_http
ltm profile http customer_http {
app-service none
defaults-from http
header-erase Headertest
proxy-type reverse
}
root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm rule http_header_test
ltm rule http_header_test {
when HTTP_REQUEST {
HTTP::header insert "Headertest" "123"
}
}
Then test with curl 10.1.1.73 -H "Headertest: 123", from the capture it shows http header Headertest still in the request.
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