Forum Discussion
Christophe_Lem2
Cirrus
Sep 28, 2015How to change Server header sent by HTTP::redirect ?
Hi,
I'm using a very simple iRule to redirect http traffic to https URL. But the response contains a Server header with BigIP as value. How can I change this?
Here is the iRule I'm using:
when...
- Sep 28, 2015
You can change the server header in the HTTP profile. It is configurable in version 11.5+ I believe.
Michael_Jenkins
Cirrostratus
Sep 28, 2015Try using HTTP::respond instead and manually specifying the server header (or you can use
noserver to remove it completely)
HTTP::respond 302 Location ""https://some.web.site?target=[URI::encode http://[HTTP::host][HTTP::uri]]" "Server" "some.web.site"
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
