eesgro_26208
Aug 12, 2010Nimbostratus
URI rewrite question
To all,
I am no means an iRule programmer. I a merely an administrator of the LTM.
Anyhow here is my situation.
We have a website that people access via dummywebsite.com/uri/moreuri/evenmoreuri/default.htm
I need the F5 to redirect the client to www.dummywebsite.com/uri/moreuri/evenmoreuri/default.htm
I have read through some posts and determined it sounds more like a header rewrite and based off of those various posts compiled the following iRule. Is this accurate for what I am trying to achieve?
when HTTP_REQUEST {
if {[HTTP::header] eq "dummywebsite.com"}{
HTTP::header replace "www.dummywebsite.com"
}
}
Thank you! Ed