iRule advise - insert HTTP Header

Hi,

I am experiencing issues with my captive portal web proxy serving a redirect to my NAM server (NETIQ access manager). Basically the ‘content-type’ header is served badly by proxy and not understood by NAM.

So basically I am looking to setup a secure SSL VIP which re-writes the content-type header, between web proxy and NAM i.e. a VIP which proxy’s the connection and an iRule which inserts the re-written header.

The HTTP header i need inserted is: Content-Type: text/ html;charset =utf-8

Can i ask for advise on how exactly this should look, or any other recommendations!?

Thanks,

D

There are examples at the bottom of this page: https://devcentral.f5.com/wiki/irules.HTTP__header.ashx.

I’d recommend you remove the existing header first.

thanks WLB.. ill take a look :wink:

Great, you’re welcome.