Forum Discussion
atoth
Cirrus
Jan 24, 2014Client accessing both redirect and default pool in irule.
Working with the below irule. One of our app teams has complained that when the client is trying to access both the redirect and default pools as part of their of application, it fails. So what hap...
Kevin_Stewart
Employee
Jan 24, 2014First thing, you can probably streamline the iRule a little bit:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/foo/bar/_*" -
"/foo/baa/_*" {
snat automap
pool redirect-443
}
default {
SSL::disable serverside
pool default-80
}
}
}
Second thing is that it now depends on HOW it's failing. For instance, you left out the rest of the snat command in your sample code, so assuming you were pointing to Automap or a specific snat pool. Do you intend to not apply a snat for default pool traffic? What does the redirect look like?
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