Forum Discussion
kleis_oenema_67
Nimbostratus
Jul 06, 2007help implementing i-rules
I just need to compose an i-rule to impose secure loging. At present it works fine in a dx box from junper with a so called ptc rule. The ptc rule is rewriting a part of the contents. This has now to ...
kleis_oenema_67
Nimbostratus
Jul 12, 2007I tried to implement the given rule but to no avail, I keep getting errors.
Next I tried to implement the next rule but it generates the error in the I rule editor "line 9: [unknown event (STREAM_MATCHED)] [when STREAM_MATCHED {"
the rule I tried is given below.
when HTTP_REQUEST {
if { [HTTP::uri] contains "../home/home.asp?iscontained=Yes"} {
HTTP::redirect "https:://[HTTP::host][HTTP::uri]"
} elseif { [HTTP::uri] contains "interop" } {
pool hfm-prod-interop
} else
{pool hfm-prod }
}
when STREAM_MATCHED {
if{ [STREAM::match] contains ""} {
STREAM::replace ""
}
}
who knows the answer
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