Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • Customize Page title & favicon on Citrix Access Gateway Enterprise Edition

Customize Page title & favicon on Citrix Access Gateway Enterprise Edition

Posted on July 13th, 2010

The defaut page title and fav icon logo appear on the browser tab when connecting to the Citrix Access Gateway Enterprise Edition.

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.

  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • FriendFeed
  • Google Buzz
  • LinkedIn
  • Live
  • MySpace
  • Reddit
  • RSS

Tags: , , , , , , , , ,
Filed under Citrix Access Gateway, Citrix Netscaler |

2 Responses to “Customize Page title & favicon on Citrix Access Gateway Enterprise Edition”

  1. Johan Says:
    July 29th, 2011 at 3:07 pm

    To 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
    }

  2. Securing Citrix NetScaler Access Gateway AAGGE and Web Interface | Roshan Ratnayake - Solutions Architect Says:
    August 3rd, 2013 at 3:54 am

    […] http://www.parmiter.com/citrix/cag-citrix/2010/07/RP710 […]

Leave a Reply

*