The LoadMaster supports content switching, sometimes referred to as URL switching. This allows the LoadMaster to direct specific requests to specific Real Servers based on the contents of the requested URL.

Content switching can be very useful if there are dedicated server types that perform different functions such as image servers, static content servers, mapping servers, specialized content servers, application servers and media servers, that all need to be served from the same general hostname, for example www.mysite.com. Content switching also allows for hostname-specific servers and source IP-specific servers.

Content rules give the ability to:

  • Strip out server information
  • Redirect requests for the root of a server
  • Rewrite redirections from HTTP to HTTPS
  • Force connections to close
  • Secure cookies

The following content rule, which can be used when configuring a Virtual Service with or without SSL offloading, writes the URL so that users are sent to the domain.com/JDE_Hompage rather than the default homepage of the server:

  1. In the main menu, select Content Rules > Create New.
  2. Enter a recognisable Rule Name in the text box.
  3. Select Modify URL from the Rule Type drop-down list.
  4. Enter /^\/$/ in the Match String text box.
  5. Enter /jde/E1menu.maf in the Modified URL text box.
  6. Select [Unset] from the Perform If Flag Set drop-down list.
  7. Click the Create Rule button.