Hi,
I’m after a variable that can differentiate httpS traffic from http traffic.
Is this possible with http::host or http::uri?
Thanks,
William
Hi,
I’m after a variable that can differentiate httpS traffic from http traffic.
Is this possible with http::host or http::uri?
Thanks,
William
http::host or http::uri only work on cleartext (HTTP) so for them to work on HTTPS traffic, you already have the SSL:: commands you can work with.
Try:
\# as can be found in the 4.1.1-P1 documentation
when HTTP\_REQUEST \{
log "The SSL mode is [SSL::mode]."
\}
\# SSL:mode returns 1 when SSL is used, 2 when there's no SSL used.