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...
nitass
Employee
Dec 09, 2014you cannot use HTTP:: command in CLIENT_ACCEPTED. change to HTTP_REQUEST event and it looks okay here.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [class match [IP::remote_addr] equals O365_Microsoft_Networks_dg] } {
if { ([HTTP::uri] contains "/ews")} {
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