Cisco Cisco Web Security Appliance S160 Guía Del Usuario
E D I T I N G I R O N P O R T N O T I F I C A T I O N P A G E S
C H A P T E R 1 2 : N O T I F Y I N G E N D U S E R S
247
10. Commit your change, and close the SSH client.
Rules and Guidelines for Editing IronPort Notification Pages
Use the following rules and guidelines when editing IronPort notification pages:
• Each customized IronPort notification page file must be a valid HTML file. For a list of
HTML tags you can include, see “Supported HTML Tags in Notification Pages” on
page 258.
page 258.
• The customized IronPort notification page file names must exactly match the file names
shipped with the Web Security appliance.
• Do not include any links to URLs in the HTML files. Any link included in the notification
pages are subject to the access control rules defined in the Access Policies and users
might end up in a recursive loop.
might end up in a recursive loop.
• If the configuration\eun directory does not contain a particular file with the required
name, then the appliance displays the standard IronPort notification page.
• For new IronPort notification pages to go into effect, you must first upload the customized
files to the appliance and then enable the customized files using the
advancedproxyconfig > miscellaneous
CLI command.
Using Variables in Customized IronPort Notification Pages
When editing IronPort notification pages, you can include conditional variables to create
if-then statements to take different actions depending on the current state. For example, you
can create an IronPort notification page that includes a redirect URL (%r) if re-authentication
is offered (%R). In this example, you would create a conditional variable out of %R.
if-then statements to take different actions depending on the current state. For example, you
can create an IronPort notification page that includes a redirect URL (%r) if re-authentication
is offered (%R). In this example, you would create a conditional variable out of %R.
Table 12-3 describes the different conditional variable formats.
Table 12-3 Creating Conditional Variables in IronPort Notification Pages
Conditional Variable Format
Description
%?V
This conditional variable evaluates to TRUE if the output of
variable %V is not empty.
variable %V is not empty.
%!V
Represents the following condition:
else
Use this with the %?V conditional variable.
%#V
Represents the following condition:
endif
Use this with the %?V conditional variable.