How do I redirect non-www url to www url with/without using irule on F5-LTM? in the case, the url lending.money.com is hosted on the F5 LTM while the is hosted in the cloud let assume Azure url: lending.money.com >>
It is two questions how to accomplish it with iRule ? how to accomplish it with inbuilt local policy on F5-LTM ?
Wait, I misread what you asked for.
That only re-directs locally, removed to avoid confusion.
Hi,
You can achieve your need using an irule:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "lending.money.com"}{
HTTP::redirect "https://www.lending.money.com[HTTP::uri]"
}
}
You can do it easly too with LTM policy. Please see the following links:
let me know if you need more helps.
regards