Customize Page title & favicon on Citrix Access Gateway Enterprise Edition
Posted on July 13th, 2010
Shown here:
It is possible to replace the logo with your own one and change the text to be more appropriate.
Logo
The logo is: /netscaler/ns_gui/vpn/images/AccessGateway.ico
replace with your own .ico file but keep the same file name
Browser title text
The title text is in two places
First: /netscaler/ns_gui/vpn/index.html
Search for the section:
<TITLE>Citrix Access Gateway</TITLE>
and change to your text
<TITLE>My CAG Text</TITLE>
Second: /netscaler/ns_gui/vpn/resources/en.xml
Search for the multiple sections:
<Title>Citrix Access Gateway</Title>
and change all of them to your text
<Title>My CAG Text</Title>
Keep changes after reboot
Copy the modified files to /var/mods and add the following lines to the /nsconfig/rc.netscaler file
cp /var/mods/images/AccessGateway.ico /netscaler/ns_gui/vpn/images/AccessGateway.ico
cp /var/mods/index.html /netscaler/ns_gui/vpn/index.html
cp /var/mods/en.xml /netscaler/ns_gui/vpn/resources/en.xml
New look and feel
Now it will look how you want.
Tags: CAG, CAG EE, CAG Enterprise, CAG Enterprise Edition, CAGEE, Citrix Netscaler, customisation, favicon.ico, modification, title
Filed under Citrix Access Gateway, Citrix Netscaler |
One Response to “Customize Page title & favicon on Citrix Access Gateway Enterprise Edition”
-
Johan Says:
July 29th, 2011 at 3:07 pmTo be able to change the page title on each individual page instead, open vpn/resources.js and comment out:
this.LoadTitle(_Value, _Url);
this should be located around line 361
With this commented out you can also set the page titles based on url with:
var myHost = window.location.hostname.toLowerCase();
if (myHost == ‘site1.example.com’) {
document.title = “Logon page for Site1″;
} else if (myHost == ‘site2.example.com’) {
document.title = “welcome to site 2″;
} else {
//don’t do anything by default, use the tag
}















