Forum Discussion
Ben_Kennedy_502
Nimbostratus
Nov 17, 2006Stream not working
Hello,
I've tried using stream for the first time to alter a string returned (in XML) from http to https. I have the profile assigned to the virtual which seems to have done absolutely nothing.
profile stream soapfault_profile {
defaults from stream
source "http://www.url.co.uk:81/"
target "https://www.url.co.uk/"
}
I therefore implemented a rule as I was told it might have to be activated:
rule soapfault_rule {
when HTTP_REQUEST {
if { [HTTP::method] eq "POST" } {
STREAM::enable
log local0.warn "stream enabled " }
else {
STREAM::disable
log local0.warn "stream not enabled"
}
}
}
Both the rule and stream profile are applied to the vip.
As it's XML the request is a POST and when I test I can see the log firing, however the string is still coming back unaltered. Does anyone know what might be causing this please?
Thanks
4 Replies
- hoolio
Cirrostratus
Hi, - Ben_Kennedy_502
Nimbostratus
Hi, - hoolio
Cirrostratus
Good to hear you figured it out. Deb posted a solution for the content length issue you're encountering (Click here): - Ben_Kennedy_502
Nimbostratus
Hi,
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