Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to perform a Location Header Rewrite

 

Information

 

Summary:

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

Environment:

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
Resolution:

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.

Workaround:  
Notes:

https://support.kemptechnologies.com/hc/en-us/articles/5169363924109-SSL-Accelerated-Services

https://support.kemptechnologies.com/hc/en-us/articles/4409216040589-Content-Rules


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

Comments