yes, as i said to https i assigned stream iRule
when HTTP_REQUEST {
tell server not to compress response
HTTP::header remove Accept-Encoding
disable STREAM for request flow
STREAM::disable
}
when HTTP_RESPONSE {
catch and replace redirect headers
if { [HTTP::header exists Location] } {
HTTP::header replace Location [string map {"http://" "https://"} [HTTP::header Location]]
}
only look at text data
if { [HTTP::header Content-Type] contains "text" } {
create a STREAM expression to replace any http:// with https://
STREAM::expression {@http://@https://@}
enable STREAM
STREAM::enable
}
}
also exists 301 redirect iRule
when HTTP_REQUEST {
if { [HTTP::uri] contains "*****" } {
HTTP::respond 301 Location "https://w"
}
}
and maintenance page iRule.
By the way there are 2 web sites on the same server behind this VIP. And looks like one site performs well.