Forum Discussion

Nacho_de_Aguina's avatar
Nacho_de_Aguina
Icon for Nimbostratus rankNimbostratus
Nov 14, 2007

Redirect

Hello all:

 

 

I would like to redirect the requests recieved to for example

 

 

http://nacho.domain.com to for example http://www.microsoft.com (this domain is not manage for my BIGIP)

 

 

i have tried this irule but it doesnt works

 

 

when HTTP_REQUEST {

 

if { [HTTP::host] equals "nacho.domain.com"} {

 

HTTP::redirect http://www.microsoft.com[HTTP::uri]

 

}

 

}

 

 

Please anyone knows what i´m doing wrong

 

 

/nacho