ronaldfaraj_263
May 11, 2016Nimbostratus
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://domainB[HTTP::uri]"
}
}
But this iRule give me this error:
01070088:3: The requested object name (iRule Name) is invalid.
Any idea?
Thanks and regards.
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