How to match a particular Directory And Send to a Server
If you have 2 different Real Servers with unique directories and you want to send one directory to Real server 1 and the other directory to Real Server 2, please follow the steps below in the LoadMaster Web User Interface (WUI):
- In the main menu, select Rules & Checking and Content Rules.
- Click Create new.
- Use the following Rule.
- Click Create Rule.
- Use the following Rule.
- Click Create Rule.
- In the main menu, select Virtual Services and View/Modify Services.
- Click Modify on the relevant Virtual Service.
- Expand the Advanced Properties section.
- Enable Content Switching
- Expand Real Server section
- Click None on Real server 1
- Add match_dir_1
- Click None on Real server 2
- Add match_dir_2
These rules will send traffic for directory1 to go to Server 1 and directory2 to go to Server 2.