Forum Discussion

FrontmanFin's avatar
Icon for Altostratus rankAltostratus
Apr 12, 2024

iRule for Logging a HTTP::header

Hello, we have a VS that services multiple FQDNs to one VS and then chooses the pool using an LTM policy that checks the incoming http host from the client and then associates to the pool.   I have...
  • Paulius's avatar
    Apr 13, 2024

    I believe the following is what you're looking for.

    when HTTP_REQUEST priority 500 {
        if { [string tolower [HTTP::host]] == "" }{
            log local0. "[HTTP:host]"