Forum Discussion

rhino_109458's avatar
rhino_109458
Icon for Nimbostratus rankNimbostratus
Jan 18, 2012

help on irule redirect

hello

 

 

f5 noob here

 

 

i have a machine running different virtual servers

 

 

i want to make a simple redirect to a speciffic URL and found this on some other posts

 

 

when HTTP_REQUEST

 

{

 

if { [HTTP::host] equals https://aaa.com} { HTTP::redirect https://aaa.com/hello }

 

}

 

 

though i get no errors when saving the irule typing in the browser https://aaa.com i get to my custom error page

 

 

on the log i can see that there was a block on /

 

 

seems to me the irule is not working

 

some help please?

 

 

thanks