image_pdfimage_print

NetScaler Content-Switching for redirecting HTTP to HTTPS for multiple Domains

image_pdfimage_print

Hi together

I had the situation in a new Unified Gateway installation, that multiple hostnames had the same IP.
The wizards set up a Content Switching (CS) for HTTPS automatically, which can be extend with policies and target vServer.

An automatic redirect from HTTP to HTTPS will not be configured. In the good old time while each NetScaler Gateway (NSGW) vServer has its own IP, you set up a simple Loadbalancing (LB) vServer with an Redirection URL and that’s it. But what in the case above?

Read more

NetScaler Responder for Storefront

image_pdfimage_print

Hi Friends of NetScaler

In my last article “XML Services & Citrix Director together behind a NetScaler” I wrote about the possibility to use the same Loadbalancing (LB) vServer for XML Services and Director. But what if Storefront is installed on the same server, too?

Basically we use the same LB vServer descript in the last article again.

Add a new Host entry in your DNS server:
storefront.domain.pit = 192.168.100.30

Now we need an additional Responder policy, which
– checks the hostname (starts the hostname with storefront…?)
– checks if the URL contains not the value “StoreWeb” – indepent of case sensitive
– redirect to /Citrix/StoreWeb, if the conditions above matches:

 

add responder action Resp_Act_to_SF-StoreWeb redirect "\"/Citrix/StoreWeb\"" -responseStatusCode 302

add responder policy Resp_Pol_to_SF-StoreWeb "HTTP.REQ.HOSTNAME.STARTSWITH(\"storefront\") && HTTP.REQ.URL.SET_TEXT_MODE(IGNORECASE).CONTAINS(\"StoreWeb\").NOT" Resp_Act_to_Director

bind lb vserver lb-vsrv-PIT-XD-HTTPS -policyName Resp_Pol_to_SF-StoreWeb -priority 100 -gotoPriorityExpression END -type REQUEST

With this additional Responder Policy the next goal is reached.

 

Script: NS-RespStorefront