Forum Discussion
Chaithy
Aug 17, 2017Nimbostratus
else not working
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "Microsoft-Server-ActiveSync" || [string tolower [HTTP::uri]] equals "EWS" }
{
sent to default pool
...
Jad_Tabbara__J1
Aug 17, 2017Cirrostratus
Hello Chaithy,
try the following, It worked for me :
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "Microsoft-Server-ActiveSync" || [string tolower [HTTP::uri]] equals "EWS" } {
sent to default pool
pool WB_getmail.warnerbros.com_HTTPS
} else {
redirect to outlook.office.com
HTTP::respond 302 noserver "Location" "https://outlook.office.com/owa/warnerbros.com"
}
}
Please give me a feedback,
While testing, you can check if any error is occuring in real time using
tailf /var/log/ltm
Share if something relevant hapens
Hope it helps,
Regards
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