Forum Discussion

Robert_47833's avatar
Robert_47833
Icon for Altostratus rankAltostratus
Mar 21, 2015

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,...
  • he_qiang_137361's avatar
    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.