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

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 domain.ltd "test[wildcard].domain.ltd"

Resolution

The following CPL code will allow access to the specific URL

<proxy>
raw_url.host.regex=test.*\.domain\.ltd allow