Forum Discussion
delvinadm_21686
Nimbostratus
Feb 18, 2009URL Rewrite without Redirect
Hi everybody,
I've got a big problem, which I can't resolv.
The client types in the adressbar:
www.somesiteA.com/AAA
and the Loadbalancer should re...
delvinadm_21686
Nimbostratus
Feb 19, 2009Hi lmwfl,
thank you for this example.
I've tried this and the result is exactly the same. It just displays an empty page (with empty htmlcode).
Can you modifiy this rule, so it can also manipulate the URI?
Now, I used it this way:
if {([string tolower [HTTP::host]] starts_with "webservice.xxx.xx/webservice/")}{
HTTP::header replace Host "ihstestweb.xxx.xx:1234/webservice/"
}
}
Posted By lmwf1 on 02/18/2009 3:18 PM
Try this and see if it works.
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] starts_with "www.somesiteA.com")}{
HTTP::header replace Host "www.somesiteB.com:4444"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
