Forum Discussion

paul_dcc's avatar
paul_dcc
Icon for Nimbostratus rankNimbostratus
Jul 16, 2010

http Redirect

Hi All,

 

 

I created a simple Irule to do a redirect, but when I test this it takes me to the wrong page beacause it add a / to the end of the url string which I do not require,

 

 

Could some one please help with my problem

 

 

Thanks

 

 

Paul

 

 

when HTTP_REQUEST {

 

 

Check host header value

 

if {[string tolower [HTTP::host]] eq "des.dorsetcc.local"}{

 

 

Redirect client to the full host name

 

HTTP::redirect "]"

 

}

 

}