Citrix Systems CITRIX NETSCALER 9.3 Benutzerhandbuch

Seite von 195
For more information, see “Configuring a Rewrite Action” in the “Rewrite” chapter
of the Citrix NetScaler AppExpert Guide at 
.
9. Create a rewrite policy and bind the rewrite action to it. At the NetScaler
command prompt, type:
add rewrite policy <name> <expression> <rewriteAction>
Example
add rewrite policy rewrite_location "HTTP.RES.STATUS == 302 && 
HTTP.RES.HEADER(\"Location\").Value(0).startswith(\"http:\")" 
Replace_HTTP_to_HTTPS
For more information, see “Configuring a Rewrite Policy” in the “Rewrite” chapter
of the Citrix NetScaler AppExpert Guide at 
.
10. Bind the rewrite policy to the HTTPS vserver. At the NetScaler command prompt,
type:
bind lb vserver <VserverName> -policyname <rewritePolicyName> -priority <value>
-type response
Example
bind lb vserver HTTPS_WI -policyname rewrite_location -
priority 10 -type response
For more information, see “Binding a Rewrite Policy” in the “Rewrite” chapter of
the Citrix NetScaler AppExpert Guide at 
.
Configuring a Web Interface Site for Remote Users
Using AGEE
In this scenario, user accounts and the Web interface setup are on different networks.
Users access a Web interface site by using Access Gateway Enterprise Edition (AGEE)
URL. SmartAccess is automatically enabled.
The following figure illustrates the Web interface running on the NetScaler appliance
NS1. A Web interface site WINS1 is created and a XenApp farm XA1 and a XenDesktop
XD1 are bound to it. An AGEE VPN vserver AGEE_WI is also configured. The client uses
the AGEE URL of the AGEE_WI to access the WINS1 site.
For more information about configuring AGEE, see the AGEE documentation at 
Citrix NetScaler Administration Guide
163