Forum Discussion
modify HTTP profile in iRule?
My goal is to use a different HTTP Profile based on the IP range a user comes from, rather than deploying multiple virtual servers with individual HTTP Profiles. Currently, for each application we host one VS for LAN users, one VS for WAN users, and one VS for Internet users. Obviously hosting 3 (or more based on some rumblings from specific WAN sites) VSes for one application should be unnecessary overhead. By combining the VSes into one with some iRule logic, our time spent managing everything will be greatly reduced, including the use of geo-location for our internal/WAN DNS.
- hooleylistCirrostratusYou can't select an HTTP profile from an iRule, but you can configure a lot of the HTTP profile properties dynamically from an iRule. Can you give a bit more detail on what specifically you want to change from the iRule?
- tarsier_90410NimbostratusSpecifically I would like to enable compression for one set of client IP's (users with a slow WAN link), but disable it for LAN users.
- Michael_YatesNimbostratusHi tarsier,
- tarsier_90410NimbostratusThank you, exactly what I needed!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com