Forum Discussion
Mark_Vogel
Oct 16, 2013Altostratus
Simple HTTP session termination then back end session to web server
Hello Gurus! I'm VERY new to LTM but I suspect this one will be simple.
I've got an internal web app that simply uses http on port 80 from a company we acquired, which is currently on their loc...
Kevin_Stewart
Oct 17, 2013Employee
Right... The STREAM profile won't catch response headers in the HTTP_RESPONSE event. Since we're just looking for a redirect, try this instead:
when HTTP_RESPONSE {
if { [HTTP::is_redirect] } {
HTTP::header replace Location [string map {"currenturl.olddomain.local" "newurl.ourdomain.com:8052"} [HTTP::header Location]]
}
}
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