Forum Discussion
Mojdeh_Koushki_
Nimbostratus
Oct 14, 2005iRule Script in Ver 9 is not functioning
hello
here is my problem, i have a set of bigip for bunch of web farm on ver 4.5.10, which i have this iRule for it and it is functioning Very Well...
if (getfield(http_uri, '/', 2) m...
Mojdeh_Koushki_
Nimbostratus
Oct 17, 2005what else are you looking for ... do you want to have access to the box ?
Colin, we know there is a loop for the statment, if the " IF " statment is false or true ... so problem is the code is in the loop and can not get back to the main process which is using the pool , if i am not mistaken .
so how about this :
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { ($uri starts_with "/webnav") or ($uri starts_with "/webapp") } {
log local0. "URI matches, and Port matches, redirecting to HTTPS"
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
} else {
log local0. "No match, forwarding to the pool"
}
pool POOL_HTTP_Vlan70
}
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
