Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to perform a Location Header Rewrite





How to perform a Location Header Rewrite in order to prevent the server from redirecting the client


Product: LoadMaster

Version: Any

Platform: Any

Application: Any

Question/Problem Description:

I have a VIP that redirects https://site to https://newsite. I need to also add in rules that will change any request from https://site/Content to https://newsite/Content

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause: The server redirects content connecting through the LoadMaster in order to have the client connect where the server is configured to receive connections

Navigate to Rules & Checking > Content Rules > Add New.

Name your Rule (this can't include spaces).

Match String = /LocationSentByServer/
Replace with = YourDesiredLocation

Apply this rule on your Virtual Service under Advanced Properties > HTTP Header Modifications > Request Rules. If this option doesn't appear, SSL must be enabled.


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