<p><input type=SUBMIT value="Logoff" name="PtButton" style="width:60px;">
</form>
Page file compression and saving rules
You must compress the authentication pages and their page elements into a standard zip file.
•
The name of a zip file can contain only letters, numbers, and underscores.
•
The authentication pages must be placed in the root directory of the zip file.
•
Zip files can be transferred to the device through FTP or TFTP and must be saved in the root
directory of the device.
Examples of zip files on the device:
<Sysname> dir
Directory of flash:
1
0
2
3
2540 KB total (1319 KB free)
Redirecting authenticated users to a specific webpage
To make the device automatically redirect authenticated users to a specific webpage, do the
following in logon.htm and logonSuccess.htm:
1.
In logon.htm, set the target attribute of Form to _blank.
See the contents in gray:
<form method=post action=logon.cgi target="_blank">
2.
Add the function for page loading pt_init() to logonSucceess.htm.
See the contents in gray:
<html>
<head>
<title>LogonSuccessed</title>
<script type="text/javascript" language="javascript"
src="pt_private.js"></script>
</head>
<body onload="pt_init();" onbeforeunload="return pt_unload();">
... ...
</body>
</html>
Configuring a local portal Web server
Perform the following tasks for the local portal Web server to support HTTPS:
•
Configure a PKI policy, obtain the CA certificate, and request a local certificate. For more
information, see
•
Configure an SSL server policy, and specify the PKI domain configured in the PKI policy. For
more information, see
To configure a local portal Web server:
Step
1.
Enter system view.
-rw-
1405
Feb 28 2008 15:53:20
-rw-
1405
Feb 28 2008 15:53:31
-rw-
1405
Feb 28 2008 15:53:39
-rw-
1405
Feb 28 2008 15:53:44
"Configuring
PKI."
"Configuring
Command
system-view
SSL."
144
Remarks
N/A