Forum Discussion
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
- Yann_Desmarest_Nacreous
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
- ronaldfaraj_263NimbostratusYou rigth!! I had one space in the iRule Name. Thanks for your answer.
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
- ronaldfaraj_263NimbostratusYou rigth!! I had one space in the iRule Name. Thanks for your answer.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com