Forum Discussion
CA_Valli
MVP
You should specify a default staetment that matches connections that don't meet previous criteria,
action can be anything you want - you can load balance it or you can drop it if that's the best option for you.
ccmoore
Apr 20, 2023Nimbostratus
Thanks for clarifying.
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] ne "testws02.usneeded.com"}{ return }
switch -regex [HTTP::uri] {
Can you help me to understand whats happening on the switch -regex line? Im asking because I'm getting 401's and wondering if the issue is there. It seems that there may be some header information not being forwarded of some sort.
Im getting this error:
traceId | "43e5abc0-1e8d-41bd-b369-49bfab8de3c7" |
code | 401 |
description | "Authorization failure. Authorization information was invalid or missing from your request." |
message | "Unauthorized" |
\