Rules on file names, Customizing – H3C Technologies H3C S3600 Series Switches User Manual
Page 560
1-5
Customizing Authentication Pages
The device also supports Web authentication pages totally developed by third parties as long as the
authentication pages comply with rules of customizing the authentication page file. You can load such
customized authentication pages to the device, providing authentication pages with richer contents and
flexible styles.
Follow these steps to customize Web authentication pages:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure or modify the Web
authentication page file
web-authentication
customize file fileName
Optional
By default, there is no
customized authentication
page file.
z
After you configure and load a Web authentication page file, the device will display the loaded Web
authentication pages. The customized information (configured in section
) for the default authentication page will not be displayed.
z
The file name specified by fileName must contain the system root directory and the relative path,
such as unit1>flash:/test.zip.
Editing an Authentication Page File
With Web authentication, the device allows you to customize the Web authentication pages to be
pushed to users. You can compress and then upload the customized authentication page files in HTML
format to the local storage medium of the device. Each authentication page file includes seven main
index pages, which are login page, login success page, login failure page, online page, system busy
page, authentication-free page, and Logout success page.
A Web authentication page must comply with the authentication page file customization rules to ensure
normal Web authentication and system operation.
Rules on file names
The main pages of the authentication pages have predefined file names, which cannot be changed. The
following table lists the names.
Table 1-1 Main authentication page file names
Main authentication page
File name
Login page
login.htm
Login success page
loginSuccess.htm
Login failure page
loginFail.htm
Online page
Pushed for online state notification
online.htm