cancel
Showing results for 
Search instead for 
Did you mean: 

Default redirect to url and not pool.

Reginald_Sible1
Nimbostratus
Nimbostratus

Dev Central

 

How do i default the last line to a url and not pool the hub?

 

when HTTP_REQUEST {

 

  switch -glob [string tolower [HTTP::path]] {

   "/sso*" -   

   "/vznvoucher*" {

     pool NuNetTst_Pool_80

   }

   default {

     pool the_hub

   }

  }

}

1 REPLY 1

Beaker
Cirrus
Cirrus

This should work, basically redirecting everything that does not match to a different url:

default {

HTTP::redirect https://your_url_here

}