How to use a wildcard in the domain prefix for URL policy objects?

book

Article ID: 168445

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

How do I create a request URL object that uses a wildcard in the prefix of a domain.

For examples you want to only allow users to the following URL while blocking the rest of sharefile.com "storage-ec[wildcard].
sharefile.com"

Resolution

The following CPL code will allow access to the specific URL

<proxy>
raw_url.host.regex=storage-ec.*\.sharefile\.com allow