Forum Discussion

Lovleen_Arora's avatar
Lovleen_Arora
Icon for Nimbostratus rankNimbostratus
Jul 01, 2018

Persistence based on URL path irule review request.

please review the irule below as per persistence reqmts: Note: SIP_EXC and COOK_EXC are new persistence profiles ihave created on F5 for cookie and source ip persistence.

when HTTP_REQUEST {

Check the requested URI

switch -glob [HTTP::uri] {

  "/unifiedmessaging/* -

  "/rpc/* -

  "/OAB/* -

  "/ews/*  -

  "/autodiscover/* -

  "/Microsoft-Server-ActiveSync/*

    {

      Request was for an IIS URI so select the pool and set a pool-specific cookie

     pool Exchange2013_HTTPS_Pool

     persist cookie insert COOK_EXC 0

  }

 default {

      Request was for an iPlanet URI so select the pool and source address persistence with a /24 source mask

     pool Exchange2013_HTTPS_Pool

     persist SIP_EXC 255.255.255.0 0

  }

}

}

No RepliesBe the first to reply