Robert_47833
Mar 21, 2015Altostratus
Solved
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,what is the outcome?
2:This question makes me think the priority of profile and irule ,which is evaluated firstly and the relationship between them if they manipulate the same data?For example ,I exclude .htm from compression in profile,but enable compression of it in irule.................
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.