Forum Discussion
5 Replies
Sort By
Hi,
You have to put a Serverssl profile first on your Virtual Server and then put a similar irule in place :
when HTTP_REQUEST { if { !([HTTP::uri] contains "/myexception/uri") } { SSL::disable serverside } }
- Vijay_ECirrus
CLASS_URI is the datagroup that contains the list of URI for which you need server-side SSL encryption. I am using "NOT" logic to disable server-side SSL encryption.
Try this (untested):
when HTTP_REQUEST { if { not ([class match [HTTP::uri] eq CLASS_URI]) } { SSL::disable serverside } }
Hi,
You are right, please find below an example :
when HTTP_REQUEST { if { !([HTTP::uri] contains "/myexception/uri") } { SSL::disable serverside } else { pool my_ssl_pool } }
- bizoogaNimbostratus
How about this?
when HTTP_REQUEST { if { !([HTTP::uri] contains "/myexception/uri") } { SSL::enable serverside pool my_ssl_pool } else { pool non_ssl_pool SSL: disable serverside } }
Hi,
In that case, just remove the "!" in the if condition :
when HTTP_REQUEST { if { [HTTP::uri] contains "/myexception/uri" } { SSL::enable serverside pool my_ssl_pool } else { SSL:disable serverside pool non_ssl_pool } }