Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to append an URI to a server-side request

 

Information

 

Summary:

How can the LoadMaster seemlessly send users to a different URL.

Environment:

Product: LoadMaster

Version: Any

Platform: Any

Application: IIS

Question/Problem Description:

Is it possible for the LoadMaster to append an URI to a client request so the client thinks that it is taking to the root "/" instead of the actual web directory?

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause: Make a redirection invisible to clients.
Resolution:
  • This can be done with the use of Content Rules.
  • To create a rule go to Rules & Checking > Content Rules > Add New.
  • We need a Modify URL rule type and it should look like the following:

Rule Type: Modify URL
Match String: /*\/$/
Modified URL: /test

In the example, the LoadMaster will match on the root and append /test to the HTTP request.

  • Then, go the Virtual Service > Advanced Properties > Show Header Modification Rules > Add the rule we just created as a Request Rule.

This will cause the client side request request to be to the root (i.e., https://kemptest.com) and the server side request to be to /test (i.e., https://kemptest.com/test) .

Workaround:  
Notes:

https://support.kemptechnologies.com/hc/en-us/articles/5143451528077-Content-Rules#:~:text=is%20not%20set.-,3.3.5%20Modify%20URL,-The%20Modify%20URL


Was this article helpful?
0 out of 0 found this helpful

Comments