Forum Discussion
Kareem
Nimbostratus
Dec 09, 2014Can't save an iRule because of formatting issues.
Hi,
I am having trouble formatting this irule:
when CLIENT_ACCEPTED {
if { [class match [IP::remote_addr] equals O365_Microsoft_Networks_dg] } {
if {([HTTP::uri] contains “/ews”)} {
pool O...
Kareem
Nimbostratus
Dec 09, 201401070151:3: Rule [/Common/O365_Microsoft_Networks_dg_irule] error: /Common/O365_Microsoft_Networks_dg_irule:1: error: [parse error: missing close-brace][{
if { [class match [IP::remote_addr] equals O365_Microsoft_Networks_dg] } {
if {([HTTP::uri] contains &8220;/ews&8221;)} {
pool O365_POC_Exchange_owa_pool7
}
}]
/Common/O365_Microsoft_Networks_dg_irule:2: error: [command is not valid in the current scope][if { [class match [IP::remote_addr] equals O365_Microsoft_Networks_dg] } {
if {([HTTP::uri] contains &8220;/ews&8221;)} {
pool O365_POC_Exchange_owa_pool7
}
}]
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