Forum Discussion
kraigk_52257
Nimbostratus
Mar 01, 2009iRule for Exchange 2007 OWA, ASync & Outlook Anywhere
I am pasting this out of the F5 deployment guide for Exchange 2007 found here: http://www.f5.com/pdf/deployment-guides/f5-exchange07-dg.pdf. This iRule allows you to run one virtual with three pools ...
Carl_Brothers
Employee
May 12, 2009Posted By kraigk on 03/04/2009 5:05 PM
I was getting syntax error and thanks for the reply. I worked through this and duh, I realized I was trying to use a class that would only exist if I had the webaccelerator module. Here is what I have come up with:
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "MSRPC" }{
persist uie [HTTP::header "Authorization"] 3600
pool EX-CAS_OA-pool
} elseif { [HTTP::uri] contains "Microsoft-Server-ActiveSync" }{ <----Missing Curly bracket
persist cookie
pool EX-CAS_ASYNC-pool
} else {
persist cookie
pool EX-CAS_HTTP-pool
}
}
This seems to work although I'm not sure how to test effectively. The goal here was to identify and handle traffic that all comes in SSL on the same VIP and goes to different pools.
The class was one of the errors, but the main one was the missing curly bracket that I highlighted. Yeah felt really stupid that I missed that. Supposedly they are working to correct that in the deployment guide, as I made a point of citing this error in their doc to our regional F5 team.
I am about to begin testing that I rule with an adde elseif to parse for Citrix, as all of that is on one virtual server.
CarlB
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