Scott_McRoberts
Mar 08, 2019Nimbostratus
irule errors when upgrading from 11.5.3 to 13.1.1.4
I am upgrading our code from 11.5.3 to 13.1.1.4 and having some issues with older irules breaking. Have the following redirect code and need to know how to rewrite to work with 13.1.1.4.
Need to re-write code to work with 13.1.1.4, currently getting "error:[undefined procedure:" I am not a coder. Errors from noserver line down error: [undefined procedure:
} elseif { $bpath starts_with "/uri1" } {
HTTP::respond 301 \$
noserver \$
"X-RE-Ref" "0 301" \$
"Location" "https://host.domain.com/uri2" \$
"Expires" "Tue, 31 Dec 2030 12:00:00 GMT" \$
"Cache-Control" "max-age=1924983804" \$
"Connection" "close"