piowis_321863
May 24, 2017Nimbostratus
Redirect when port 80 is visible in url
Hello, I am just wondering is it possible to get redirect only if port 80 in url is visible? I mean if application send url like sampleurl:80/sample/context redirect it to sampleurl:8889/sample/context
I have tried something like this if { ( [HTTP::host] contains ":80" ) and ( [HTTP::uri] starts_with "/sample/context" ) } { pool Sample_Pool_8889 }
Thanks in advance.