Forum Discussion
MartinM_58357
Nimbostratus
May 29, 2014HTTP::uri caching
Hi
Irule snippet...
set foo [HTTP::uri]
log local0.info "foo = $foo"
set foo [string map -nocase {"jim" "fred"} [HTTP::uri]]
log local0.info "foo = $foo"
set HTTP::uri foo
log local...
nitass_89166
Noctilucent
May 29, 2014e.g.
config
[root@ve10:Active] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST priority 100 {
log local0. "\[HTTP::uri\] = [HTTP::uri]"
set newuri [string map -nocase {"jim" "fred"} [HTTP::uri]]
HTTP::uri $newuri
}
when HTTP_REQUEST priority 200 {
log local0. "\[HTTP::uri\] = [HTTP::uri]"
}
}
/var/log/ltm
[root@ve10:Active] config tail -f /var/log/ltm
May 29 16:44:49 local/tmm info tmm[4955]: Rule qux : [HTTP::uri] = /jim/services/ServiceA
May 29 16:44:49 local/tmm info tmm[4955]: Rule qux : [HTTP::uri] = /fred/services/ServiceA
nitass_89166
Noctilucent
May 29, 2014this is due to ID224251 (iRule command caching does not properly get cleared when data changes) which is fixed in 11.0.0.
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
