How can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to Modify a Root URL to redirect to a Specific Directory URL

Typically, it is better to configure this sort of redirect on your Real Servers, however you can use header modification to achieve the same result. To do this, follow the steps below in the LoadMaster Web User Interface (WUI):

  1. In the main menu, select Rules & Checking and Content Rules.
  2. Click Create New.
  3. Use the following settings for the rule.

    Rule Name: Rewrite_Root
    Rule Type: Modify URL

    Match String: ^/$
    Modified URL: /redirect/to

  4. Click Create Rule.
  5. In the main menu, select Virtual Services and View/Modify Services.
  6. Click Modify on the relevant Virtual Service.
  7. Expand the Advanced Properties section.
  8. Click Show Header Rules.
  9. In Request Rules, select the relevant rule and click Add.

By matching “/” and rewriting it to the desired value, you can force requests to a certain resource or directory.



Robert Starzynski

But how to match only root of a specified domain, let say but not