Forum Discussion
AngryCat_52750
Feb 28, 2013Nimbostratus
Changing Hostnames and URIs
we are making a service call to an external vendor. We call - internal.apple.com/foo/bar/pear.svc and we make it vendor.example.com/foo/bar/pear.svc with a irule -
when HTTP_REQUEST {
...
nitass
Feb 28, 2013Employee
i think the last HTTP::uri should not have brackets around.
when HTTP_REQUEST {
HTTP::header replace Host "vendor.example.com"
if { [string tolower [HTTP::uri]] equals "/fruits" } {
HTTP::uri "/foo/bar/pear.svc"
}
}
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