Forum Discussion
Jean_42123
Nimbostratus
Sep 25, 2010URGENT - HELP required
Guys,
I am trying to write down the below i-rule but i am getting an error saying [undefined procedure: else][else{discard}]
could you please advise how to fix it ?
when HTTP_REQUEST {
if {[HT...
Jean_42123
Nimbostratus
Sep 26, 2010The script would look like this if i want to use the [HTTP::host] in the if statement, Correct?
when HTTP_REQUEST {
if {[HTTP::host] contains "mmsc.omanmobile.om" } {
pool NWG_WAP2
} else {
discard
}
}
BR/Jean
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