One Reply to “Advanced NetScaler Gateway 11 Customizations”

  1. Hello, Manuel,
    I just discovered your article. I tried the sample re-write action/policy, however, after binding that to vserver on my Netscaler nothing happened, the re-write action did not kick in. Netscaler version NS11.1: Build 63.15.nc.

    add rewrite action ngw-passreset.rw.act.insert-link insert_after_all “HTTP.RES.BODY(10000)” q{“\n\t$(\”\”).addClass(‘field’).append($(\”\”).addClass(‘left’)).append($(\”Reset your password here\”).addClass(‘right’)).appendTo(form)”} -pattern “form.append(title,field_username,field_pass);”

    add rewrite policy ngw-passreset.rw.pol.insert-link.gateway_login_form_view.js “HTTP.REQ.URL.PATH.EQ(\”/vpn/js/gateway_login_form_view.js\”)” ngw-passreset.rw.act.insert-link

    bind vpn vserver My_Netscaler_443 -policy ngw-passreset.rw.pol.insert-link.gateway_login_form_view.js -priority 100 -gotoPriorityExpression NEXT -type RESPONSE

    I tried “flush cache contentGroup loginstaticobjects” but it turns out this feature is not licensed.
    ERROR: Feature(s) not licensed [IC]
    >

    Do you have an idea how to further troubleshoot this on Netscaler?

    Thanks,

    Jiri

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: