Forum Discussion

sgnormo's avatar
sgnormo
Icon for Cirrus rankCirrus
Jul 05, 2022
Solved

Custom HTTPS Monitor

I have a VIP that is hosting two separate URL using HTTPS.  The VIP for both URL is using the same backend servers.  What i need is a monitor that sends a string to both URL to GET a file.  If the fi...
  • StephanManthey's avatar
    Jul 05, 2022

    Hi,

    why not just configuring two pools (pool_his, pool_her) with a pool specific monitor?

    Now have an iRule which differentiates between the hostnames:

    when HTTP_REQUEST {
        switch [string tolower [getfield [HTTP::host] : 1]] {
            his.example.com { pool pool_his }
            her.example.com { pool pool_her }
        }
    }