thanks again nmenant,
now,I wrote the below irule on my BIG-IP system but it seems my irule script doesn't work with HTTPS.
What i want to do is to redirect URI beginning with some keywords to some specific pools like.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/m-admin" } {
use pool Portal_m_443
}
elseif { [HTTP::uri] starts_with "/myblog" } {
use pool Portal_m_443
}
else {
use pool Portal_443
}
}
I name this irule portal_443.
i applied this irule to HTTPS virtual server like 10.8.52.9:443 , resource-> irule portal_443
Please note that the BIG-IP is not the termination of the SSL connection. the servers are..( so HTTPS encryption/decryption will happen on the pool members.) SSL keys/certificates are all installed on the pool members.
pool Portal_443 members:
10.8.52.244:443
10.8.52.245:443
10.8.52.246:443
pool Portal_m_443 member:
10.8.52.244:443
The PROBLEM IS HTTPS ACCESS TO MY PORTAL SITE DOESN'T WORK.
Does anybody know why it is not working ??
is it because the BIG-IP is not the SSL termination ??
do I need to install key/certificate on BIG-IP system for this iRule to work with HTTPS connections ??
please advise.
Sakolan