How can ProxySG the display client IP address into custom notification page (Notify User page)?
search cancel

How can ProxySG the display client IP address into custom notification page (Notify User page)?

book

Article ID: 165907

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

SGOS has configurable notification pages, such as the Notify User policy object or Policy Exceptions definitions. Here's an example of a notification message that includes the client IP address.

-----

<body>
<!-- REPLACE THE FOLLOWING WITH YOUR MESSAGE -->
You are now accessing restricted URL page from [$(client.address)] client address.
<p>

Click on Accept.
<!-- The following is the Accept button, which you can customize. -->
<p><a href="$(exception.details)" onclick="Accept();">Accept</a>
</body>


 

-----


In addition to the client IP address, SGOS has other CPL Substitutions, such as:

  • $(url) => client requested URL
  • $(url.host) => URL hostname
  • $(user) => Authenticated username
  • $(proxy.name) => ProxySG appliance's hostname