Forum Discussion

karthik_sriniva's avatar
karthik_sriniva
Icon for Nimbostratus rankNimbostratus
Apr 12, 2005

HTTP Header

Hi,

 

I have to change the HTTP header authorization to include different username and password from the one that was received by BigIp for authentication.

 

If I add the following line of code in the "when AUTH_SUCCESS" event, I get compile-time error

 

HTTP::header insert Authorization "Basic: 123455:12345"

 

 

Is there a way to execute the above line of code, after the when AUTH_SUCCESS code is executed and before the request is sent to the back-end application server for processing.

 

 

  • Tao_Liu_90341's avatar
    Tao_Liu_90341
    Historic F5 Account
    There is constraint that some HTTP:: cmds can't be executed under AUTH events. You can work around by replacing the header in HTTP_REQUEST after you have extracted AUTH username/password.