Append a URL using Responder Policy

Append a URL using Responder Policy

book

Article ID: CTX222703

calendar_today

Updated On:

Description

This article describes how to append Specific URL at the end of a FQDN.


Instructions

We need to configure Responder policy and Action for the same :

1. Action :
Type : Redirect
Target :
"http://" or "https://" + HTTP.REQ.HOSTNAME.HTTP_URL_SAFE + "<url you want to append>".

2. Policy :
Action : The one created in Step 1
Expression : HTTP.REQ.URL.EQ("/")

Eg. :

Lets suppose we want to append "/Citrix/StoreWeb" at the end of "https://www.citrix.com" and also want that if someone access http://www.citrix.com redirect to https.

Action :
Name : Append_Action
Type : Redirect
Target : "https://" + HTTP.REQ.HOSTNAME.HTTP_URL_SAFE + "/Citrix/StoreWeb"

Policy :
Name : Append_policy
Action : Append
Expression : HTTP.REQ.URL.EQ("/")


Bind Append_policy on both Http and Https Vserver.

You can also bind the policy on https Vserver and have http Vserver down with https://www.citrix.com in the Redirect URL under Advanced of HTTP Vserver.