Forum Discussion
Lance_Simon_557
Sep 19, 2007Historic F5 Account
stream iRule not working
LTM v9.3.0
Ok, I hit a server going to https://report.joesplace.com/...
, which is available via public dns. After entering credentials, the server replies with a redirect to http://dsp...
Deb_Allen_18
Sep 19, 2007Historic F5 Account
Stream profile acts on data only, not protocol headers.
With an http profile applied, to rewrite redirects you'll need an iRule that looks specifically @ redirect responses & their headers:
when HTTP_RESPONSE {
if { [HTTP::status] starts_with "3" } {
set redirect [HTTP::header Location]
string map {dspdisp1.joesplace.com:7778 reports.joesplace.com} $redirect
HTTP::header replace Location $redirect
}
}/deb
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
