socar65
Apr 04, 2018Nimbostratus
Redirect to another url and pool
Hi All,
Got a requirement from my user who is adding a new application, but the old app is still tied to some other services, so they don't want to get rid of that app, rather redirect to that application but pull up their new servers pool. I have tried to get this going , the redirect to the 302 works, but it keeps pulling up the old pool. Here is an example.
if { ($requestURI starts-with "/blue/ui/")} { HTTP::respond 302 location ";
TCP::close } elseif {($requestURI equals "/")} { pool ext_newpool ] }
As I said, the redirect to 302 location works fine, but I can't seem to get the new pool to load during that redirect, the 302 location pool loads.
Thanks
Jess