Forum Discussion
rodrigo_Benzaqu
Nimbostratus
Jun 06, 2007Check my sintaxis on the rule ??
Hello, Can I use "??" on the rules ?
Is this rule ok ?
Thanks man.
rule RULE_MPAGO {
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/m??/*" - ...
Deb_Allen_18
Jun 07, 2007Historic F5 Account
You probably need to have the opening "{" for each body on the same line as the conditions, and the "" are not required, but otherwise looks like it would work:
rule RULE_MPAGO {
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
/m??/* -
/mp-* {
pool POOL_MPAGO
}
/cgi-bin* {
pool POOL_MPAGO_8088
}
*/ml/* {
pool POOL_SQL
}
default {
pool POOL_STATIC
}
}
}
}HTH
/deb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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