Starting Access Gateway Enterprise Edition software release 9.2, the software is localized depending on the language of the client operating system. The strings used in the HTML for each supported language are available in the XML files existing in the /netscaler/ns_gui/vpn/resources directory of the appliance. The primary name of the xml files is the initial two characters of the related language, such as en.xml for English, fr.xml for French, and ja.xml for Japanese language. You need to edit the respective XML file to change the default message on the logon page for the respective language.
To change the default messages on the Logon page of the Access Gateway Enterprise Edition appliance, complete the following procedure:
Switch to the shell prompt.
Run the following command to change to the resources directory:
cd /netscaler/ns_gui/vpn/resources
To change the default message, as shown in the following screen shot, run the following command to copy the en.xml to a permanent storage:
cp /netscaler/ns_gui/vpn/resources/en.xml /var/customizations/resources/en.xml
Note: The /netscaler file system exists in the RAM of the appliance. Therefore, changes you make in this file system are lost when you restart the appliance.
The following screen shot displays the default message on the Logon page:
Run the following command to change to the directory in the permanent storage:
cd /var/customizations/resources
Open the en.xml file in a text editor, such as the vi editor.
In the en.xml file, locate the following entry:
<String id="Welcome">Welcome</String>
Replace the entry with the following entry:
<String id="Welcome">Welcome to Example.com</String>
Save and close the file.
Run the following command to replace the en.xml file available in the RAM:
cp /var/customizations/resources/en.xml /netscaler/ns_gui/vpn/resources/en.xml
To ensure that the changes exist even after the appliance is restarted, add the following entry to the /nsconfig/rc.netscaler file:
cp /var/customizations/resources/en.xml /netscaler/ns_gui/vpn/resources/en.xml
Restart the appliance.
Access the appliance from a web browser. The Logon page displays the customized message: