iRule: modifying the uri without a redirect
In this case the user wants to change the uri of a HTTP request without forcing a redirect from the client.
We have a unique situation where a client-based DLL is uploading a file to our...
Published Jul 27, 2005
Version 1.0Adrian03
Jul 22, 2013Nimbostratus
Hi,
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