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...
lmwf1_55268
Nimbostratus
Feb 19, 2009Try this.
if { ([HTTP::host] equals "webservice.xxx.xx" ) and ([HTTP::uri] starts_with "/webservice") } {
HTTP::header replace Host "ihstestweb.xxx.xx:1234"
}
The uri is the same so why do you neeed to change it?
You can try this to see if it change the uri as well, but I am not sure if you need this step. Something to try tho. Not sure about the syntax but just give you some ideas.
if { ([HTTP::host] equals "webservice.xxx.xx" ) and ([HTTP::uri] starts_with "/webservice") } {
HTTP::header replace Host "ihstestweb.xxx.xx:1234"
HTTP::header replace uri "/webservice"
}
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
