Forum Discussion
James_Dyson_470
Nimbostratus
May 12, 2006multiple rules / header info removing
Hi Guys,
I've got a build running production traffic that has just been pen tested and one of the complaints was the BigIP returning OS information in the header. (ver9.x)
I know ...
Deb_Allen_18
May 12, 2006Historic F5 Account
You'll need to build your own HTTP redirect using TCP::respond rather than HTTP::respond.
This approach will suppress both the Connection: Keep-Alive header and the Server: BIG-IP header that are sent by default:
when HTTP_REQUEST {
set location "http://www.domain.com/uri"
TCP::respond "HTTP/1.1 302 Found\r\nLocation: $location\r\nConnection: close\r\nContent-Length: 0\r\n\r\n"
TCP::close
}Works like a charm!
/deb
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
