Forum Discussion
Marcus_Hong_Yu
Jul 20, 2018Nimbostratus
here is the irule I tried, it seem the http_request rewrite works but the http_response part not taking effect
When HTTP_REQUEST { if { [HTTP::uri] contains "/review2"} { HTTP::uri [string map {/review2 /review}[HTTP::uri]] } } When HTTP_RESPONSE { if {[class match [IP::server_addr] equails "review2_srcIP"} { HTTP:header replace Location [string map {/review /review2} [HTTP::header value Location]] STREAM::expression "@/wot@/wot2@" STREAM::enable } }