This is what i have changed it to after your suggestion ...
when HTTP_REQUEST {
if {[HTTP::uri] contains "ShP/anqmemlogin.jsp"} {
[HTTP::redirect] "https://wwwpp20.landg.com/ManageYourAccountWeb/ENTRY_POINT"
}
elseif {[HTTP::uri] contains "bpcentre"} {
[HTTP::redirect] "https://wwwpp20.landg.com/BPCentre/docbase/bpcentre/index.hml"
}
elseif {[HTTP::uri] contains "ShP"} {
pool wwwpp20.landg.com
}
elseif {[HTTP::uri] contains "DocumentLibraryWeb"} {
pool wwwpp20.landg.com
}
elseif {[HTTP::uri] contains "ShPSchemeAdmin"} {
pool wwwpp20.landg.com
}
elseif {[HTTP::uri] contains "cehttp"} {
pool wwwpp20.landg.com
}
elseif {[HTTP::uri] contains "CAWeb"} {
pool ppentry.landg.com
} else {
pool ppentry.landg.com
}
Still not working and i get the following error ...
01070151:3: Rule [wwwpp80_Redir] error: line 1: [parse error: missing close-brace] [{ if {[HTTP::uri] contains ShP/anqmemlogin.jsp} { [HTTP::redirect] https://wwwpp20.landg.com/ManageYourAccountWeb/ENTRY_POINT } elseif {[HTTP::uri] contains bpcentre} { [HTTP::redirect] https://wwwpp20.landg.com/BPCentre/docbase/bpcentre/index.hml } elseif {[HTTP::uri] contains ShP} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains DocumentLibraryWeb} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains ShPSchemeAdmin} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains cehttp} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains CAWeb} { pool ppentry.landg.com } else { pool ppentry.landg.com }] line 2: [command is not valid in the current scope] [if {[HTTP::uri] contains ShP/anqmemlogin.jsp} { [HTTP::redirect] https://wwwpp20.landg.com/ManageYourAccountWeb/ENTRY_POINT } elseif {[HTTP::uri] contains bpcentre} { [HTTP::redirect] https://wwwpp20.landg.com/BPCentre/docbase/bpcentre/index.hml } elseif {[HTTP::uri] contains ShP} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains DocumentLibraryWeb} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains ShPSchemeAdmin} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains cehttp} { pool wwwpp20.landg.com } elseif {[HTTP::uri] contains CAWeb} { pool ppentry.landg.com } else { pool ppentry.landg.com }]
Any help would be great.
Thanks