Forum Discussion
Tim_Abbott_4960
Nimbostratus
Jun 08, 2005New to iRules: Need persistance based on virutal directory
I am new to the iRules and I'm looking for a way to persist a virtual directory.
Here is my issue.
I have one website www.mysite.com but I have two applications on that w...
unRuleY_95363
Jun 09, 2005Historic F5 Account
Actually, you are very close. Since you already have persistence enabled on the virtual, all you need to do in the rule is disable persistence for the urls you don't want it on. Try changing your rule like this:
rule sautooffice_uri {
when HTTP_REQUEST {
if { not ( [HTTP::uri] starts_with "/sautooffice" ) } {
persist none
}
}
}
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
