BMARTIN_12200
Feb 17, 2009Nimbostratus
stream profile - set title browser
Hello, I created a rule to add information to the title field of the browser. His works on the first page of the portal, but when I open another application html from this portal, the title is not changed. Why?
Version:BIG-IP 9.3.1 Build 46.7
when HTTP_RESPONSE {
STREAM::disable
if { [HTTP::header value Content-Type] contains "text" }{
switch [IP::server_addr] {
"x.x.x.nn" { set nvip "thisname_nn" }
"x.x.x.uu" { set nvip "thisname_uu" }
default { set nvip [IP::server_addr] }
}
STREAM::expression "@<\[Tt\]\[Ii\]\[Tt\]\[Ll\]\[Ee\]>@$nvip @"
Active "stream profile"
STREAM::enable
}
}
when STREAM_MATCHED {
log local0. "<\[Tt\]\[Ii\]\[Tt\]\[Ll\]\[Ee\]>: matched: [STREAM::match], replaced with: $nvip "
}