Forum Discussion
CraigM_17826
Nov 30, 2009Altostratus
Hi Aaron,
I did notice the SSL::profile "profile_name", and correct me here if I am wrong, but I think it's only permissible within Server_Connected and to be honest I couldn't quite work out how I could use it there. All my pool selections are done within HTTP_RESPONSE and ideally it would have been nice if I could have used it there, but it was not to be.
Basically the iRule in question just does a lot of seperate URI checks for certain strings and depending on the what it finds it will use specific pools. Most of the other code in the iRule is for session persistance. The reason why there are more than one pools is that not all of the content is served by WebSphere, although it could be, but our internal developers haven't got round to it, so certain content comes from IIS servers to Tomcat servers. So it's a bit of a dogs breakfast. I'll post some code extracts tomorrow when I'm at work, but in a nutshell it's like this
if {[HTTP::URI] contains "/" }{
pool "PoolName"
return
}
I did think that I might have to go the route of using url re-writes but I thought using pools would be simpler for my situation.
Regards
Craig