Forum Discussion

Dave_21103's avatar
Dave_21103
Icon for Nimbostratus rankNimbostratus
Oct 23, 2015

HTTP 301 Redirect iRule with HTTP Response Headers

Hi All,

 

The following iRule redirects HTTP to HTTPS:

 

when HTTP_REQUEST { HTTP::respond 301 Location "https://[HTTP::host][HTTP::uri]" }

 

How do I modify this iRule to not return the "Server: BigIP" response header? I was successfully able to remove the header in other iRules with noserver but I'm having difficulty determining where to add noserver within this iRule.

 

Thanks!