Angelo
Feb 07, 2013Nimbostratus
disable streaming for port 80
Hi
I have a streaming enabled on one of VS running SSL. now i need to configure that VS to work on port 80 and 443 how do i disable the streaming when a client connects on port 80 and enable it when the client connects on 443
this is the I-rule
when HTTP_REQUEST {
STREAM::disable
HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {
if {[HTTP::header value Content-Type] contains "text"}{
STREAM::expression {@http://esf.mtn.co.za@https://esf.mtn.co.za@}
STREAM::enable
}
}