Forum Discussion
Michael_Mau_108
Nimbostratus
Feb 16, 2008REGEXP parsing URI
Hello all,
I have a customer who assigns each of his 100+ users with a service name, so he is able to indentify who each customer group is, and what environment they are trying to access (accepta...
Nicolas_Menant
Employee
Feb 18, 2008If your iRule doesn't match anything the BIGIP will use the pool defined in your vs configuration.
But if you use a default statement in your switch command to discard everything then you'll never use your default pool defined.
So if you want to do so you need to use the first statement where you can remove the default statement then. Should look like this
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"XML_[A-Z]*_P" -
"XML_[A-Z]*_T"
{
drop
}
}
}
You should even be able to remove the statement "XML_[A-Z]*_P" - since you don't do anything with it. It will save processing.
HTH
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