Forum Discussion
2 Replies
Sort By
- Kevin_StewartEmployee
I don't think the forward command is behaving the way you may think it should.
https://devcentral.f5.com/wiki/iRules.forward.ashx
Assuming this is a standard (non-forwarding) VIP, try this instead:
when HTTP_REQUEST { if { not ( [string tolower [HTTP::host]] equals "my.domain.com" ) } { discard } }
- Marco_Castro_11Nimbostratus
Thanks Kevin!