Forum Discussion

JustCooLpOOLe's avatar
JustCooLpOOLe
Icon for Cirrocumulus rankCirrocumulus
Oct 18, 2018

Insert Headers on a Redirect - iRules

Hi,

 

I have a requirement where the customer would like to have the original URL sent in a header when a redirect to their site occurs. For example, user enters in their browser and then is redirected to via an iRule. They would like to have a header that included the URL. Is this possible?

 

Any help is greatly appreciated.

 

  • It's not generally possible to actively control a browser's headers. You can set a cookie (which is technically a header) and the browser will return it, but then usually only to the site that set it. In other words, you can't tell a browser to send a header.