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...
Tim_Abbott_4960
Nimbostratus
Jun 09, 2005OK, here is what I've come up with so far but I need some more help.
rule sautooffice_uri {
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/sautooffice" } {
persist cookie insert cdmao
pool www.cdmdata.com
}
}
virtual CDMDataProduction {
destination 10.250.110.100:http
ip protocol tcp
profile http tcp
pool www.cdmdata.com
persist AppCookie
rule sautooffice_uri
}
If I am reading this correctly it will persist all of the connections going to the pool CDMDataProduction. I need to only persist those that have the uri /sauotooffice. How do I NOT persist any other sessions that do NOT use /sautooffice?
Thanks,
Tim
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
