daveclarkjr
Nov 11, 2016Nimbostratus
host replace question with iRule
Is there any way to keep F5VSserver.null.com as the host? Would using HTTP::host be an option?
client request
when HTTP_REQUEST { log local0. "xyz_Forms = [HTTP::uri]"
if { [string tolower [HTTP::uri]] contains "xyz" } { set uri [string map -nocase {"/?uri=; "/xyz/"} [HTTP::uri]] log local0. "xyz_new = $uri" HTTP::uri $uri } }
http://Server2.null.com:8000/http_handler/file.htm being the final result as expected.