Forum Discussion

paul_dcc's avatar
paul_dcc
Icon for Nimbostratus rankNimbostratus
Jun 24, 2014

Can't get my redirect to work !!!

Hi All,

I'm trying to get my redirect to work and I'm have some problems, can some one put me right please.

when HTTP_REQUEST {

if { [HTTP::uri] equals "https://test.geowessex.com" } {
HTTP::redirect "https://test.geowessex.com/geoserver/"}
elseif { [HTTP::uri] equals "https://test2.geowessex.com" } {
HTTP::redirect "https://vmcrgifme1"}

}

27 Replies