Forum Discussion
Replacing HTTP::class select after 11.4
Hi,
I've an irule in v12.2.1 to trig an ASM policy depending on the URI called on my Virtual Server.
To trig the appropriate policy we used HTTP::class select . This HTTP Class iRule events have been deprecated with v11.4...
I checked askF5 for an equivalent but there is no: HTTP::class select : No equivalent.
I checked POLICY:: or ASM:: commands but didn't understand how to trig my ASM policy.
Can have some help please?
Thx.
3 Replies
- nathe
Cirrocumulus
- shaggy
Nimbostratus
Depending on what you're doing in the iRule, the Local Traffic Policies are ridiculously customizable, so you may be able to achieve the desired iRule logic in an LTM policy without an iRule.
SOL14381 has the following example as a replacement for HTTP::class select:
when HTTP_REQUEST { if {[llength [POLICY::names matched]] > 0} { … } } - Shiraz
Altostratus
Hi Alscion,
I have tested the same thing with Local Traffic >> policies and succeeded.
Please go through the below link for details.
http://support.f5.com/kb/en-us/solutions/public/15000/000/sol15085.html
regards,
Mohammed Shiraz Mukram
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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