How to configure Content Rules on Kemp LoadMaster (Examples Included)
Redirect the traffic from site.net/Folder/rest_of_the_URL to site.net/Folder2/rest_of_the_URL.
Create the URL modification rule, as follows:
- Rule Name: ModifyFolder
- Rule Type: Modify URL
- Match String: /^\/Folder(.*)/
- Modified URL: /Folder2\1/
Then, in the Virtual Service - enable content switching and apply the Modify URL rule in the Request Rules section.
Note: This is a URL modification rule, not a redirection. For this reason, the change will be not visible to the client and the browser URL will still point to site.net/Folder/rest_of_the_URL, even if the content displayed is actually stored on site.net/Folder2/rest_of_the_URL.