Forum Discussion
slesh_219299
Cirrus
Aug 27, 2015302 response Location header issue
Hello guys
I am new here and to F5 devices .
I had to set up
Vip with service port 4712 and same for pool 4712 ( profile http and ssl profile is set for client ) rest is left by default .
And wh...
Stanislas_Piro2
Cumulonimbus
Aug 27, 2015Hi,
F5 never change server response if you do not create a configuration to do that.
so F5 does not "return Location header" but let it unchanged.
If you want to replace location header, you must create a irule for that.
when HTTP_RESPONSE {
Check if server response is a redirect
if { [HTTP::header is_redirect]} {
Do the update, replacing http:// with https://
HTTP::header replace Location \
[string map -nocase "http:// https://" [HTTP::header value Location]]
}
}
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