iRule: modifying the uri without a redirect
Published Jul 27, 2005
Version 1.0Was this article helpful?
Tried the uri change but it doesn't do anything. I'm trying to change the http://abc.com/csm/?.Project=client1 to http://abc.com/web/web.dll?.Project=client1
This is the irule:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/csm/" } {
HTTP::uri "/web/web.dll[string range $uri 5 end]"
}
}
Do you know what's wrong ?
Thanks, Adrian