Forum Discussion

jeffrey1984's avatar
Oct 13, 2020

Is there a way to see http header forwarded to another url ?

The request comes into our Apache web server which is configured for Shibboleth and is sent to SSO which validates the credentials and does a POST back to Apache web server which then forwards the request onto another url. Is there a way in F5 LTM to see the HTTP header being forwarded to the new url specially the euid of the user? Thanks in advance

  • Assuming the traffic is either (a) not encrypted or (b) the F5 is decrypting it then yes, using an HTTP profile and iRule or Local Traffic Policy.

    See the iRule HTTP::header CloudDocs page for more details.

    when HTTP_REQUEST {
      if { [HTTP::header exists "myHeader"] } {
        log local0. "The value of myHeader is [HTTP::header value myHeader]"
      }
    }
  • Assuming the traffic is either (a) not encrypted or (b) the F5 is decrypting it then yes, using an HTTP profile and iRule or Local Traffic Policy.

    See the iRule HTTP::header CloudDocs page for more details.

    when HTTP_REQUEST {
      if { [HTTP::header exists "myHeader"] } {
        log local0. "The value of myHeader is [HTTP::header value myHeader]"
      }
    }