Forum Discussion
Mohamed_Reda_14
Nimbostratus
Mar 27, 2014Removing the server name from the response header of F5
![Hi,
I have and issue while response code 302 redirection is reaching F5 back from the actual server. If any client could see the header with a proxy application, he would be able to see the BigIP a...
Seth_Cooper
Employee
Mar 27, 2014Your 302 would be in the HTTP_RESPONSE not the HTTP_REQUEST. You will need something like this... I have not tested this so you might have to make some modifications to it.
when HTTP_RESPONSE {
if {[HTTP::is_redirect]} {
if {[HTTP::header Server] contains "BigIP" } {
HTTP::header replace Server "www.servername.com"
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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