iRule: modifying the uri without a redirect
Published Jul 27, 2005
Version 1.0Was this article helpful?
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" or [HTTP::uri] equals ""} {
set newuri "/signon.html"
log "Incoming uri - [HTTP::uri] being translated to $newuri"
HTTP::uri $newuri
}
}
If I didnt put in the second part of the if it wouldnt catch it if the user didnt put in the / in Chrome.