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...
Chris_Miller
Altostratus
Sep 27, 2010Posted By Jean on 09/26/2010 12:38 AM
The 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 That's correct.
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