For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Moonotech's avatar
Moonotech
Icon for Nimbostratus rankNimbostratus
Sep 05, 2024

Request URL and Referel http header

Hello  Everyone,

 

Kindly help with how i can change the Request URL and Referrel header field.

 

And also i want to be able to send the 2 field to the logs.

 

Many Thanks.

 

Regards,

3 Replies

  • If you have to apply redirect you can achive this via LTm policies. Just need to create a policy with redirect url.

  • Hi ,

     

    If you are talking about http origin and referrer, please try via this if it's a post

    header.

     

    when HTTP_REQUEST

    {

    if {[HTTP::method] eq "POST"}

    {

    HTTP::header replace origin "example.com" 

    HTTP::header replace referer "example.com" 

    else { return } }