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 ...
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
}
}