Forum Discussion
Stanislas_Piro2
Aug 23, 2018Cumulonimbus
Your requirement seems like the example of SSL::disable wiki.
you can use this code:
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"/content*" {
pool unsecure_80
set usessl 0
}
default {
pool secure
set usessl 1
}
}
}
when SERVER_CONNECTED {
if { $usessl == 0 } {
SSL::disable
}
}
Note : Code edited... default statement must be without quotes.