Hi community,
i have a question about HTTP_REQUEST events in the iRule and hope someone can help me.
setup:
- F5 virtual server (port 443) with OneConnect Profile and Persistence Profile (cookie) enabled
- various pools with different web applications
- iRule with a url based pool selection
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/articles" } {
pool articles_app_pool
} elseif { [string tolower [HTTP::uri]] contains "/inseration"} {
pool inseration_app_pool
} elseif { [string tolower [HTTP::uri]] contains "/magazin"} {
pool magazin_app_pool
} elseif { [string tolower [HTTP::uri]] contains "/faq"} {
pool faq_app_pool
} else {
pool default_pool
}
}
if the user opens the website in the browser, and calls the domain (mydomain.com). He lands on the homepage (/home). No condition is met in the iRule and the user lands on the default pool and he receives a default_pool persistence cookie. The user now clicks on magazine ( menu bar) in the still open page. According to iRule, the request should be sent to the pool magazin_app_pool with /magazin. However, this does not happen. Is it possible that once the connection is established, the Rule can no longer function as long as the session remains active?