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, 2005sorry!
here is your script:
when HTTP_REQUEST { set uri [string tolower [HTTP::uri]] if { (($uri starts_with "/webnav") or ($uri starts_with "/webapp")) and ([TCP::local_port] == 80) } { 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 }}
here is the log for running this script:
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:10 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:14 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:14 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:36 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:40 tmm tmm[628]: Rule coline : No match, forwarding to the pool
Oct 17 18:23:40 tmm tmm[628]: Rule coline : No match, forwarding to the pool
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
