Forum Discussion
Nicolas_Menant
Mar 12, 2008Employee
Hi,
Have you try to do some troubleshooting to check what was the HTTP::uri value ?
If you want people to help you , some idea about what may be happening would be welcome like doing the following:
when HTTP_REQUEST {
log local0. "uri is [HTTP::uri]"
log local0. "host is [HTTP::host]"
if { ([HTTP::host] eq "www.abc.com.au") && ([HTTP::uri] eq "/personalcredit") } {
log local0. "redirecting user..."
HTTP::redirect "http://[HTTP::host]/abconline/99.aspx"
}
}
And you can then give us the output of /var/log/ltm
May your issue be that you have additionnal stufd after /personalcredit ?
if yes, then try this:
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.abc.com.au") && ([HTTP::uri] starts_with "/personalcredit") } {
HTTP::redirect "http://[HTTP::host]/abconline/99.aspx"
}
}
If this is not your issue, then show us some debugging information so that we can help you understand what is happening because what cmbhatt offered should work.
HTH