Quantcast
Channel: BB Blog - Belgium » Netscaler
Viewing all articles
Browse latest Browse all 9

If your IIS runs multiple WebInterfaces on 1 IP address on the same TCP-port, using host headers we have some problems on the CAGEE part of the Netscaler. Below an “Insert HTTP-header” configuration to fix this issue.

$
0
0

If your IIS runs multiple WebInterfaces on 1 IP-address on the same TCP-port,  IIS uses host headers to distinguish which site to present.  However a CAGEE configuration will not include a host header name in the GET request to the webserver.

In this article we try to explain how to create a load balancer service on top of the WI/IIS which adds the needed host header using a request rewrite. (Netscaler Standard feature).

  • First configure a Load balancer for your Web Interface
    clip_image002
  • Go to “Policies” and click “Rewrite (Request)”
  • Click “Policy Name” and click “New Policy …”
    clip_image004
  • At level”Action” click “New …”
    clip_image006
  • Click “Create”
  • Click “Close”
  • To test the “Rewrite” click “Evaluate”, in the new windows click “Sample” and “Evaluate”
    clip_image008
  • Click “Close”
  • Add Expression “TRUE”
    clip_image010
  • Click “Close”
  • Select the just created policy and select “NEXT” in the column “Goto Expression”
    clip_image012
  • Click “Insert Policy” and click “New …”- rewrite actioclip_image014
  • Add “TRUE” in the expression field
    clip_image016
  • Click “Evaluate” to test the rewrite policy
    clip_image018
  • Click “Close” and click “Create”
  • Make sure the order of the policies is correct
    clip_image020
  • Now go to your CAG configuration and point your WebInterface entry to this load balanced service. The LB will inject the hostheader required by IIS.


Viewing all articles
Browse latest Browse all 9

Trending Articles