Satriaji
Oct 11, 2021Cirrus
iRules redirection not working
Hi Everyone,
I have 2 VS in serverfarm and DMZ. The pool member SVF is used by IP VS DMZ.
SVF (port custom 45112)
DMZ (port 443, using SSL)
iRules_redirect_autodebet :
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "/adb-soa/"
#log local0. "redirect"
}
}
When I access http://192.168.12.220:45112 its just redirect to http://192.168.12.220:45112/adb-soa. But the pages itsn't working.
Why the irules is not working ?? because backend server https ?
I just want to, if every hit VS http://192.168.12.220:45112 will be rewrite or redirect to http://192.168.12.220:/45112/adb-soa directly, so its not must be triggered by uri "/".
Anyone know to solve this ?