Forum Discussion
Billy_56049
Nimbostratus
Jul 13, 2011Replace or Remove Server tag from HTTP header
Hi!
I'm trying to remove Server tag from HTTP Header. Actually, I'm using redirect for HTTP to HTTPS.
I applied the following irule:
when HTTP_REQUEST {
...
hooleylist
Cirrostratus
Jul 13, 2011Hi Billy,
If that was the exact TCP::respond command you used, it couldn't have had the Server: BigIP header from the iRule. Maybe you have another iRule you saw that with?
Regardless, on 9.4.2 and higher, you can use HTTP::respond with the noserver flag to suppress the Server: BigIP header:
from http://devcentral.f5.com/wiki/default.aspx/iRules/http__respond
HTTP::respond 302 noserver Location "https://[HTTP::host][HTTP::uri]"
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects