Available Variables

Available Variables

Available Variables for Deny Pages

The variables can be used for Lenovo NetFilter Deny/Portal page editor.

Variables in capital letters, which can be inserted into deny/portal pages as html code.

Variable Name

Definition

$DENY_CATEGORY_INFO

html code of a division for deny message with category information

$DENY_ERROR_MESSAGE

html code of a division for deny error message

$FILTER_CAT

html code for deny category names

$FILTER_CATINFO

html code for names and description of deny categories

$FILTER_DATE

html code for current date

$FILTER_ENCODEDURL

encoded url been filtered

$FILTER_MESSAGE

html code for specific filter message with category names. This will translate to the Group Language setting.

$FILTER_TITLE

"ACCESS TO THIS WEBSITE IS DENIED"
This can be changed in the Translation Editor.

$FILTER_LABEL

"WHY ACCESS IS DENIED"

This can be changed in the Translation Editor.

$FILTER_CONTACT

"Contact your Internet administrator if you require access to this site."
This can be changed in the Translation Editor.

$FILTER_SIGNIN

Sign In to Bypass

$FILTER_SHORTURL

short format of encoded url been filtered

$GROUP

html code for group name

$OAUTH_GOOGLE_INPUT

html code of input fields for auth by google single sign on

$OAUTH_MICROSOFT_INPUT

html code of input fields for auth by microsoft single sign on

$REMEMBERME_INPUT

html code of a checkbox for rememberme

$SAML_AUTH_INPUT

html code of input fields for auth by SAML

$SSO_OR_LINE

Html code of an or line to separate SSO

$SUPPORT_EMAIL

html code for support email

$SUPPORT_PHONE

html code for support phone

$USER_GROUP_DETAIL

html code for group and user name information

$USER_IP

html code for user ip been filtered

Variables Prefixed with 'html'

Variables prefixed with 'html_', which can be inserted into deny/portal pages as html code.

Variable Name

Definition

$html_back

html code of url to redirect back

$html_cat

html code of category numbers

$html_connectionip

html code of connection ip

$html_dpid

html code of deny page id

$html_dplanguage

html code of deny page language

$html_dpruleid

html code of deny page rule id

$html_groupname

html code of group name

$html_nsphostname

html code of Lenovo NetFilter policy server hostname

$html_policyname

html code of deny policy name

$html_rememberme_expire

html code of option to expire rememberme

$html_ttl

html code of ttl

$html_url

html code for url been filtered

$html_userip

htnl code for user ip been filtered

$html_username

html code for user name been filtered

Variables Prefixed with 'enc_'

Variables prefixed with "enc_", which can be used in deny/portal pages as parameter for CGI arguments for the link addresses.

Variable Name

Definition

$encd_cat

encoded deny category numbers

$encd_connectionip

encoded connection ip filtered

$encd_dpid

encoded deny page id

$encd_dplanguage

encoded deny language

$encd_dpruleid

encoded deny page rule id

$encd_groupname

encoded group name

$encd_nsphostname

encode Lenovo NetFilter policy server hostname

$encd_policyname

encoded policy name

$encd_ttl

encoded ttll

$encd_url

encoded url been filtered

$encd_userip

encoded uer ip been filtered

$encd_username

encoded username

Out-of-date Variables

Variables that might be used, but are out of date, and may not be supported in future release

Variable Name

Definition

$cat

category numbers

$connectionip

connection ip

$dpid

deny page id

$dplanguage

deny page language

$dpruleid

deny page rule id

$encodedurl

encoded url been filtered

$error

error message

$groupname

group name

$nsphostname

Lenovo NetFilter policy server hostname

$policyname

policy name

$rememberme_expire

option to expire remeberme

$ttl

tttl

$url

url been filtered

$userip

user ip been filtered

$username

user name

Format: 

deny_page_http http://$HOST:8080/webadmin/deny/index.php

deny_page_http http://$HOST:8080/webadmin/deny/index.php

 


    • Related Articles

    • Deny Page Framework

      Deny Page API Specifications The Lenovo NetFilter deny page framework allows you to configure the location where your deny pages will reside, within your overall Lenovo NetFilter solution. This section outlines how to configure your deny pages to ...
    • Custom Reports Overview

      Use the Custom Report page to create or edit a report. Enter the Report Name, Description and Owner. For Report Type, if Demand is chosen, select the Date Range. For Scheduled Reports, select the Interval and Start Date and for Continuous Reports, ...
    • List

      Lists Window The ‘List’ window is the main window for managing Lists. It is found under the Policies menu.  Use the 'Lists' window to create, manage and assign Lists for filtering. URL Lists support URLs and URL parts (such as scheme, path, or ...
    • Create Report

      You can create a Report using an existing Report Template. You can be limited in the fields which they can enter per template, allowing for creation of reports tailored to their purpose and a simplified interface.  There must be enabled Reports and ...
    • Templates Overview

      WebAdmin, Policy, and Category Templates WebAdmin Template-driven WebAdmin and Policy management allows you to standardize Group settings using Group, Policy, and Category Templates.  Category Templates let you assign specific Categories to a ...