You can create a local URL content redirection setting that redirects specific URLs to open on a remote desktop or published application. A local URL content redirection setting is visible only in the local pod.
You can configure any number of protocols, including HTTP, HTTPS, mailto, and callto. The callto protocol is not supported for redirection with the Chrome browser.
As a best practice, configure the same redirection settings for the HTTP and HTTPS protocols. That way, if a user types a partial URL into Internet Explorer, such as mycompany.com, and that site redirects from HTTP to HTTPS automatically, the URL Content Redirection feature works as expected. In this example, if you set a rule for HTTPS, but do not set the same redirection setting for HTTP, the partial URL that the user types is not redirected.
VMware recommends that you do not create more than one setting for URL content redirection.
To create a global URL content redirection setting, which is visible across the pod federation, see Create a Global URL Content Redirection Setting Horizon 8.
Prerequisites
- Become familiar with vdmutil command-line interface options and requirements and verify that you have sufficient privileges to run the vdmutil command. See Using the vdmutil Command-Line Utility on a Connection Server Instance in Horizon 8.
- Become familiar with the syntax for URLs in URL content redirection settings. See Syntax for the --agentURLPattern Option in Horizon 8.
Procedure
Example: Creating a Local URL Content Redirection Setting
VdmUtil --createURLSetting --urlSettingName url-filtering --urlScheme http --entitledApplication iexplore2012 --agentURLPattern "http://google.*" --urlRedirectionScope LOCAL --authAs johndoe --authDomain mydomain --authPassword secret
vdmutil --updateURLSetting --urlSettingName url-filtering --urlScheme https --entitledApplication iexplore2012 --agentURLPattern "https://google.*" --urlRedirectionScope LOCAL --authAs johndoe --authDomain mydomain --authPassword secretThe following example updates the url-filtering setting to redirect all client URLs that contain the text mailto://.*.mycompany.com to the application pool called Outlook2008.
vdmutil --updateURLSetting --urlSettingName url-filtering --urlScheme mailto --entitledApplication Outlook2008 --agentURLPattern "mailto://.*.mycompany.com" --urlRedirectionScope LOCAL --authAs johndoe --authDomain mydomain --authPassword secret
What to do next
Assign the URL content redirection setting to a user or group. See Assign a URL Content Redirection Setting to a User or Group in Horizon 8.