g3neration_3120
Jun 15, 2008Nimbostratus
Redirecting URI's
Pretty new to iRules, my problem is that I have tried implenting an iRule on a test box. Basically it looks like this:
if { [HTTP:host] equals "test.co.il" and [HTTP::uri] starts_with "/seeme" } {
HTTP::redirect "http://www.test.co.il/test1/test2/seeme/index.htm" }
The redirect will only work if I type in:
test.co.il/seeme/
but not if I type in:
test.co.il/seeme
Any help would be great. Thanks.