Forum Discussion
kolom_265617
Cirrostratus
Hello CraigyB, Try using the following iRule.
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] starts_with "/info" ) } {
set uri [HTTP::uri [string map {"/info" "/files"} [HTTP::uri]]]
HTTP::redirect "https://[HTTP::host]$uri"
}
}
CraigyB_172365
Jan 12, 2018Nimbostratus
Hi Kolom, appreciate your input, which parts do i replace with destination host name and port number?