Forum Discussion
Albert__Tase_70
Nimbostratus
Mar 19, 2008ssl persistance and base on uri contents
Is there a way to use irule like this
when https request comes in to vip if the request contains x in the uri use ssl persit profile and use pool x
else use pool y
???? ...
Albert__Tase_70
Nimbostratus
Mar 21, 2008ok when i use the last post it still not working
if I use the following
when HTTP_REQUEST {
if { ([HTTP::uri] contains "x")}{
HTTP::redirect "https://x.x.x.x:8443/x/"
} else {
pool y
}}
however they do not want to have the redirect
in the above the redirect sends it to the virtual with the same pool assigned as the below and I get whats expected
however the redirect seems to affect the app why can't I when it matches send it to the pool that has the servers in it that the vip has that when I redirect to it gives me the expected results.
when HTTP_REQUEST {
if { [HTTP::uri] contains "x"}{
persist uie [SSL::sessionid] 1500
pool x
} else {
pool y
}
}
thanks
Al
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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