Forum Discussion
Bryce_Johnson_1
Nimbostratus
Jun 07, 2006http redirect based on active pool name
Hello,
I am new to scripting iRules on the BigIP. I am looking for a rules to redirect to a non-secure URL when the default pool is set to a specific name.
for example:
when HTTP_REQUEST {
if [pool equals pool_name_here]
HTTP::redirect "http://www.urlgoeshere.com"
}
}
Should this be as simple as it sounds? Please advise.
Thanks,
Bryce Johnson
- You might want to post this over on the iRules forum. iControl is our remote management API.
- Deb_Allen_18Historic F5 AccountThere is no way to directly extract the default pool from the config with a rule.
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