Forum Discussion
h_elyot
Jun 18, 2019Nimbostratus
Fallback Host Conditional Trigger
Hello F5 Community, I have a separated "Sorry" page URL configured as a Fallback host in the profile settings of a Virtual Server. I would like to redirect HTTP/HTTPS traffic to this "Sorry" pa...
Hamish
Jun 18, 2019Cirrocumulus
I think you'll have to do an iRule
The 'easiest' (But perhaps not most efficient) would be to
- Make a sideband connection to your URI you want ot check
- If the sideband worked, then just return - no action to take
- if the sideband didn't work, then send a redirect to your sorry page (Or if the sorry is on a pool select that pool or whatever)
Now that's not going to be very efficient. That sideband connection will get awfully busy. But it's easy.
A more efficient method would be to replace that wideband query with an explicit pool. And the monitor for the pool checks /probe. And do the redirect to sorry if the pool itself is offline.
You can then add more bells and whistles as you require. But try to keep it simple. Simple things fail far less.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects