Forum Discussion

puluck's avatar
puluck
Icon for Cirrus rankCirrus
Jun 30, 2015

Irule for response code

Hi All,

 

I am facing issue in my environment where ,f5 is modifying the response code send by server .

 

So if server is sending 404 ,ASM is allowing this code but when client receive this its 200 oK.

 

body of response code remains the same but header changes to 200 .As per our application team they need to pass header as 404 to client for some functionality to work

 

Any suggestion on this ,how we can solve this through irule

 

Regards Puluck

 

2 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    puluck,

     

    What are you Advanced Policy settings re Allowed Response Codes set to? You probably need to add 404 to the allowed list.

     

    See if that helps,

     

    N

     

  • In allowed response code 404 is being already added .I have just verified under security policy which is being applied to this VIP