Forum Discussion
Dec 07, 2009
Stream iRule Help
I want this iRULE to modify the returned URL based on HTTP request.
Problem: A8001 is the local server name. It changes from server to server. We don’t want to expose local server name ...
Marc_Steiniger_
Nimbostratus
Dec 09, 2009when HTTP_REQUEST {
set orig_host [HTTP::host]
set orig_uri [HTTP::uri]
set orig_port [TCP::local_port]
}
when HTTP_RESPONSE {
if { $orig_uri contains "wdsl" } {
HTTP::header replace Host $orig_host
TCP::local_port $orig_port
}
}
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
