Forum Discussion
Jeff_McCombs_42
Nimbostratus
May 03, 2006multiple rules in a single virtual server
Gurus,
Perhaps I'm just blind but I haven't seen anything on this in my cursory lookthru the documentation and online.
What I'd like to be able to do, is string two rules togther under a virtual server, with each rule operating on the data within an HTTP_REQUEST event...
Is this possible?
e.g.
rule _security_rule {
when HTTP_REQUEST {
blah blah blah.. strips out TRACE/Track method calls, admin.dll calls, etc.
}
}
and
rule director {
when HTTP_REQUEST {
if { [HTTP::uri] contains "/some-application-path/" } {
pool application-servers
persist cookie
}
}
}
How could I string these two rules togheter? When I attach both to a virtual server, the virtual server stops working entirely.. I assume it's because I'm trying to use two rules with within the same event.. or something...
ideas?
- Jeff_McCombs_42
Nimbostratus
I should point out that I'm hoping that I can have a centralized 'security rule' that I can apply to _all_ my virtual servers, and still have individual rules for each virtual server that map URIs to pools, or whatever.. - Deb_Allen_18Historic F5 AccountHi Jeff --
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