praveen_73358
Feb 11, 2011Nimbostratus
HTTP/1.1 response from F5 for HTTPS VIP
Dear All,
We have a F5 with version IP 10.0.1 Build 378.0 Hotfix HF3.
I need HTTP/1.1 response from the F5 with 502 code for a HTTPS VIP.
We have tried the below iRule using SSL::respond:
when LB_FAILED { SSL::respond "HTTP/1.1 502 Bad Gateway\r\nServer: BigIP\r\nConnection: close\r\nContent-Length: 0\r\n\r\n" }
However the desired output was not obtained.
As per the previous updates above I see that this should work in version 10 as per below discussion:
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/afv/topic/aff/5/aft/60438/Default.aspx
Can anyone update if there is any issue with the iRule we tested.
Thanks,
Praveen