Forum Discussion
Angelo
Nimbostratus
Feb 07, 2013disable 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...
What_Lies_Bene1
Cirrostratus
Feb 07, 2013Try this;
when HTTP_REQUEST {
STREAM::disable
HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {
if { [TCP::local_port] == 443 } {
if { [HTTP::header value Content-Type] contains "text" } {
STREAM::expression {@http://esf.mtn.co.za@https://esf.mtn.co.za@}
STREAM::enable
}
}
}
}
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