Forum Discussion
stupid48
Altocumulus
Jun 15, 2015Rewrite Response Header coming from pool members?
Hi there,
I'm running 11.6 LTM. I'm publishing Oracle iSupplier to the internet but my hostnames differ from inside to outside. I'm using an iApp (f5.http) to do this. I've set the iApp to us...
amolari
Cirrostratus
Jun 15, 2015try this quick and dirty.. based on a search on Devcentral..
when HTTP_RESPONSE {
if { [HTTP::status] contains "302"} {
if { [HTTP::header location] starts_with "http:///" } {
log local0. "Location header matches : [HTTP::header location]"
HTTP::header replace location "https:///[HTTP::uri]"
}
}
}
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