Forum Discussion

ronaldfaraj_263's avatar
ronaldfaraj_263
Icon for Nimbostratus rankNimbostratus
May 11, 2016

iRule redirect Domain.

Hi guys, I was looking for a irule to redirect domain "A" to domain "B". I tried using the following iRule: when HTTP_REQUEST { if { [HTTP::host] eq "domainA" } { HTTP::redirect "https://d...
  • Yann_Desmarest_'s avatar
    May 11, 2016

    Hello,

     

    I think that you wrongly named your irule. Space are not supported. try something like that irule_name instead

     

    But the irule content is valid. I have it in production