Thursday, March 15, 2012

Netscaler\AGEE Logon Page multi-tenant

Added another domain\ICA proxy to my AGEE\Netscaler today, as I was rolling out discover that the common logon was going to cause me some grief. As I was sure the other company didn't want the first company's web address on it.

after a quick moment of pondering decided to use javascript to detect the current address and update the page as required.


      <TD width="100%" height=1>
         <script type="text/javascript">
          document.write("<h2> Welcome to " + location.hostname +"</h2>");
         </script>
      </TD>

I don't like using rewrite function
a) because I just dont get regex
b) because...

No comments: