iRule to select different access profile based upon host header?
As the title states, I am looking for an iRule to select a different access profile based upon host header. In our current environment we configure VIPs with a specific access profile using SAML (BigIP as SP). Export the metadata to a passport server and use a SAML header insert iRule to pass the EPPN or whatever along to the web servers. This works fine, but we end up having to burn multiple VIPs for sites on the same server pairs. I am using an iRule for non-SAML sites to direct to different ports on the same server pair based on the host header (i.e. if the url is stage.site.com go to the pool on port 8000, if dev.site.com go to the pool on port 8001, etc) and was wondering if there was a way to do the same thing but select a different access profile as well.