Forum Discussion
Lark_53475
Nimbostratus
Aug 19, 2008uri rewrite question
I'm a newbie so forgive if I'm asking a silly question. I haven't been able to get this to work with the examples and responses I've seen on the forum.
I have a distributed third party a...
James_Quinby_46
Aug 20, 2008Historic F5 Account
Grabbing the example on that page and adjusting it accordingly, I come up with:
when HTTP_RESPONSE {
STREAM::disable
if { [HTTP::header value Content-Type] contains "text" }{
STREAM::expression {@&postDataBin=y\>@&postDataBin=y\@}
STREAM::enable
}
}
This section only logs matches, and should be removed before using the rule in production.
when STREAM_MATCHED {
log local0. "Matched: [STREAM::match]"
}
I'm having a bit of trouble testing this, but it looks like it *ought* to work.
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