Forum Discussion

jonathanw84's avatar
Jun 09, 2020

Insert Original HTTP_REFERER into Header iRule

Hello,

 

I need to get the HTTP_REFERER header inserted into an environment I have set up. The environment is set up as a reverse proxy with URI translation in both directions. The issue is this:

 

A request comes into test.server.com/test and is translated to test1.server.com/test. The HTTP_REFERER header shows test1.server.com instead of the original URL. Is there a way to change this?

 

Thanks!

1 Reply

  • Hello,

    Far as I know, it works when we mark option "Rewrite Headers" on "Request Settings" that include all headers.

    Is your profile rewriting all headers except from referer?

     

    Regards.