Forum Discussion
Moonotech
Sep 05, 2024Nimbostratus
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,
- Aswin_mkCumulonimbus
If you have to apply redirect you can achive this via LTm policies. Just need to create a policy with redirect url.
- Aswin_mkCumulonimbus
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 } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects