Forum Discussion
hooleylist
Mar 11, 2010Cirrostratus
The logic in iRule 2 is going to always either send clients to the weblogic pool or redirect them. So if you have that first, you'll never allow anyone to get to the apache pool.
I think you need to clarify which actions you want to take and then try to combine the iRules. Do you want to check the request for the "app..." URIs first and select the apache pool. For non-matching URIs, do you then want to select either the weblogic pool or redirect the client based on client IP address? Also, do you actually want to perform the maintenance check all of the time? Or just during maintenance periods? If only during maintenance periods, it probably doesn't make sense to have the iRules combined.
Aaron