Step 1: Create the Content Rules
- Last Updated: December 11, 2024
- 1 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
In many cases, all of the above workloads will share a common domain name – except for Autodiscover. Therefore, we need to find another way of determining the difference between each workload. Consider the following:
When a client connects with Outlook, the URL which it will try to connect will look like this:
https://autodiscover.domain.com/mapi/...
Similarly, if an ActiveSync client is trying to connect, it will do so using the following URL:
https://mail.domain.com/Microsoft-Server-ActiveSync/....
Because Exchange uses a different virtual directory for each of the workloads, we can use that to differentiate traffic from one another. The following table summarizes how this can be achieved:
|
Workload |
RegEx |
Health check page – Exchange 2013 |
|---|---|---|
|
OWA |
/^\/owa.*/ |
/owa/healthcheck.htm |
|
EAC/ECP |
/^\/ecp.*/ |
/ecp/healthcheck.htm |
|
EWS |
/^\/ews.*/ |
/ews/healthcheck.htm |
|
OA |
/^\/rpc.*/ |
/rpc/healthcheck.htm |
|
MAPI |
/^\/mapi.*/ |
/mapi/healthcheck.htm |
|
OAB |
/^\/oab.*/ |
/oab/healthcheck.htm |
|
EAS |
/^\/Microsoft-server-activesync.*/ |
/Microsoft-server-activesync/healthcheck.htm |
|
AutoD |
/^\/autodiscover.*/ |
/autodiscover/healthcheck.htm |
To create these content matching rules, follow the steps below in the LoadMaster WUI:
- In the main menu, select Rules & Checking.
- Select Content Rules.
- Click Create New.
- Add a recognizable Rule Name, for example ECP.
- Enter /^\/ecp.*/ in the Match String text box.
- Select Ignore Case.
- Click Create Rule.
- Repeat steps 1 to 7 for each of the rules in the table above. Enter the relevant RegEx in the Match String text box for step 5.