Forum Discussion
Redirect based on FQDN
Hi All
I am successful in creating a redirect to a Maintenance Pool or Maintenance page via an iRule.
I am sitting in a situation at the moment where I have multiple DNS Entries pointing to the same VIP and the Server is configured with HOST Header required which means it will send it to the correct website. The websites are in essence the same but purely to denote different localized content per regions.
I need to find a way that I can redirect the users to the dedicated Maintenance page for each region when all the pool members are offline. Each region connects with a different FQDN.
Any suggestions?
- Leonardo_Souza
Cirrocumulus
Have a look at these two links. active_member will tell when there are no available members, and HTTP:host gives you the host header. You will also need a switch command to simplify the logic.
https://devcentral.f5.com/wiki/irules.active_members.ashx
https://devcentral.f5.com/wiki/irules.http__host.ashx
https://devcentral.f5.com/wiki/irules.switch.ashx
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