beautypg.com

Tip: html file changes need to be saved – Amer Networks E5Web GUI User Manual

Page 546

background image

Follow the same steps used for the Web Interface below.

Web Interface

1.

Go to: System > Advanced Settings > HTTP Banner files > Add > ALG Banner Files

2.

Enter a name such as new_forbidden and press OK

3.

The dialog for the new set of ALG banner files will appear

4.

Click the Edit & Preview tab

5.

Select FormLogin from the Page list

6.

Now edit the HTML source that appears in the text box for the Forbidden URL page

7.

Use Preview to check the layout if required

8.

Press Save to save the changes

9.

Click OK to exit editing

10. Go to: Objects > ALG and select the relevant HTML ALG

11. Select new_forbidden as the HTML Banner

12. Click OK

13. Go to: Configuration > Save & Activate to activate the new file

Tip: HTML file changes need to be saved

In the above example, more than one HTML file can be edited in a session but the Save
button should be pressed to save any edits before beginning editing on another file.

Uploading with SCP

It is possible to upload new HTTP Banner files using SCP. The steps to do this are:

1.

Since SCP cannot be used to download the original default HTML, the source code must be
first copied from the Web Interface and pasted into a local text file which is then edited
using an appropriate editor.

2.

A new Auth Banner Files object must exist which the edited file(s) is uploaded to. If the
object is called ua_html, the CLI command to create this object is:

Device:/> add HTTPAuthBanners ua_html

This creates an object which contains a copy of all the Default user auth banner files.

3.

The modified file is then uploaded using SCP. It is uploaded to the object type
HTTPAuthBanner and the object ua_html with property name FormLogin. If the edited
Formlogon local file is called my.html then using the Open SSH SCP client, the upload
command would be:

pscp my.html [email protected]:HTTPAuthBanners/ua_html/FormLogin

Chapter 8: User Authentication

546

This manual is related to the following products: