Forum Discussion

Lee_Kostka_1487's avatar
Lee_Kostka_1487
Icon for Nimbostratus rankNimbostratus
Nov 16, 2006

Remove Authorization

I am new to writing F5 rules. I would like to remove the Authorization Negotiate part of the header when users target and certain URL. Here is what I got but please help. Is this right

 

 

 

when HTTP_REQUEST { if { [HTTP::uri] equals "/?Logon=L" }{

 

HTTP::header remove Authorization

 

HTTP::uri "/irj"

 

}}

 

 

Thanks

1 Reply

  • Your rule would remove the Authorization header for requests to the exact URI '/?Logon=L' and it would set the URI to /irj. If that's what you're intending, it looks good.

     

     

    Have you tested the rule?

     

     

    Aaron