Forum Discussion
mikeshimkus_111
Apr 17, 2014Historic F5 Account
You can use the following log statement to log a message to /var/log/ltm when the Enterprise Vault URI is seen. Also, you don't need to use "then" after your if statements:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "/enterprisevault" } {
log local0. "enterprise vault found"
pool exchange-mail_enterprisevault
} else {
if { ([HTTP::uri] == "/") } {
HTTP::redirect https://[HTTP::host]/owa/
}
}
}