Host to client redirection 编辑

Content redirection allows you to control whether users access information by using applications published on servers or applications running locally on user devices.

Host to client redirection is one type of content redirection. It is supported only on Server OS VDAs (not Desktop OS VDAs).

  • When host to client redirection is enabled, URLs are intercepted at the server VDA and sent to the user device. The web browser or multimedia player on the user device opens these URLs.
  • If you enable host to client redirection and the user device fails to connect to a URL, the URL is redirected back to the server VDA.
  • When host to client redirection is disabled, users open the URLs with web browsers or multimedia players on the server VDA.
  • When host to client redirection is enabled, users cannot disable it.

Host to client redirection was previously known as server to client redirection.

When to use host to client redirection

You might consider using host to client redirection in specific but uncommon cases, for performance, compatibility, or compliance. Normally, other forms of content redirection are better.

Performance:

You can use host to client redirection for performance, so that whenever an application is installed on the user device, it is used in preference to an application on the VDA.

Keep in mind that host to client redirection improves performance only under specific conditions, because the VDA already optimizes Adobe Flash and other types of multimedia content. First, consider using the other approaches (policy settings) noted in the tables in this article, rather than host to client redirection. Those settings offer more flexibility and usually give a better user experience, particularly for less-powerful user devices.

Compatibility:

You can use host to client redirection for compatibility in the following use cases:

  • You use content types other than HTML or multimedia (for example, a custom URL type).
  • You use a legacy media format (such as Real Media) that is not supported by the VDA multimedia player using multimedia redirection.
  • The application for the content type is used by only a few users who already have the application installed on their user device.
  • The VDA cannot access certain websites (for example, websites internal to another organization).

Compliance:

You can use host to client redirection for compliance in the following use cases:

  • The application or content licensing agreement does not permit publishing via the VDA.
  • Organizational policy does not permit a document being uploaded to the VDA.

Some situations are more likely in complex environments, and also if the user device and the VDA belong to different organizations.

User device considerations

Environments can have many different types of user devices.

User deviceSituation or environmentContent redirection approach
Tablet-Any approach (see next table)
Laptop PC-Any approach (see next table)
Desktop PCUsers use a wide range of apps installed on the user deviceAny approach (see next table)
Desktop PCUsers use only a few known apps that are installed on the user deviceLocal App Access
Desktop PCUsers use no apps installed on the user deviceMultimedia redirection and/or Flash redirection
Desktop applianceVendor supports multimedia redirection and/or Flash redirectionMultimedia redirection and/or Flash redirection
Thin clientVendor supports multimedia redirection, Flash redirection, and host to client redirectionAny approach (see next table)
Zero clientVendor supports multimedia redirection and/or Flash redirectionMultimedia redirection and/or Flash redirection

Use the following examples to help guide your content redirection approach.

URLs linkSituation or environmentContent redirection approach
Webpage or documentThe VDA cannot access the URLHost to client redirection
WebpageThe webpage contains Adobe FlashFlash redirection
Multimedia file or streamThe VDA has a compatible multimedia playerMultimedia redirection
Multimedia file or streamThe VDA does not have a compatible multimedia playerHost to client redirection
DocumentThe VDA does not have an application for that document typeHost to client redirection
DocumentDo not download the document to the user deviceNo redirection
DocumentDo not upload the document to the VDAHost to client redirection
Custom URL typeThe VDA does not have an application for that custom URL typeHost to client redirection

Citrix Receiver for Windows, Citrix Receiver for Mac, Citrix Receiver for Linux, Citrix Receiver for HTML5, and Citrix Receiver for Chrome support Host to client redirection.

To use host to client redirection, the user device must have a web browser, multimedia player, or other application that is suitable for the content. If the user device is a desktop appliance, thin client, or zero client, confirm that it has suitable applications and is sufficiently powerful.

User devices enabled for Local App Access use a different mechanism for content redirection, and do not require host to client content redirection.

You can use Citrix policies to prevent host to client content redirection for unsuitable devices.

How users experience host to client redirection

Host to client redirection is used when URLs are:

  • Embedded as hyperlinks in an application (for example, in an email message or document).
  • Selected through VDA application menus or dialogs, if the application uses the Windows ShellExecuteEx API.
  • Typed in the Windows Run dialog.

Host to client redirection is not used for URLs in a web browser (either in a webpage or typed in the address bar of the web browser).

Note

If users change their default web browser on the VDA (for example, using Set Default Programs), that change can interfere with host to client redirection for applications.

When host to client content redirection is enabled, the app that opens the URL depends on the configuration of the user device for the URL type and the content type. For example:

  • An HTTP URL that has an HTML content type opens in the default web browser.
  • An HTTP URL that has a PDF content type might open in the default web browser, or it might open in another application.

Host to client content redirection doesn’t control this user device configuration. If you do not control the configuration of the user device, consider using Flash redirection and multimedia redirection, rather than host to client content redirection.

The following URL types are opened locally through user devices when host to client redirection is enabled:

  • HTTP (Hypertext Transfer Protocol)
  • HTTPS (Secure Hypertext Transfer Protocol)
  • RTSP (Real Player and QuickTime)
  • RTSPU (Real Player and QuickTime)
  • PNM (Legacy Real Player)
  • MMS (Microsoft Media Format)

You can change the list of URL types for host to client redirection, to remove and add URL types, including custom URL types.

Enable host to client redirection

Enabling host to client redirection starts by enabling a Citrix policy setting.

The Host to client redirection policy setting is located in the File Redirection policy settings section. By default, this setting is disabled.

In addition, you might need to set registry keys and Group Policy for the server VDAs, depending on the VDA OS.

  • If the server VDA is Windows Server 2008 R2 SP1, you do not need to set registry keys or Group Policy.
  • If the server VDA is Windows Server 2012, Windows Server 2012 R2, or Windows Server 2016, you must set registry keys and Group Policy.

Warning

Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Registry changes

  1. Copy the text between Reg file start and Reg file end below, and paste it in Notepad.
  2. Save the Notepad file using Save As as type All Files and the name ServerFTA.reg.
  3. Distribute the ServerFTA.reg file to the servers using Active Directory Group Policy.

--  Reg file start --

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\ServerFTAHTML\shell\open\command]

@="\"C:\\Program Files (x86)\\Citrix\\system32\\iexplore.exe\" %1"


[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ServerFTA]

@="ServerFTA"


[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ServerFTA\Capabilities]

"ApplicationDescription"="Server FTA URL."

"ApplicationIcon"="C:\\Program Files (x86)\\Citrix\\system32\\iexplore.exe,0"

"ApplicationName"="ServerFTA"



[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ServerFTA\Capabilities\URLAssociations]

"http"="ServerFTAHTML"

"https"="ServerFTAHTML"



[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]

"Citrix.ServerFTA"="SOFTWARE\\Citrix\\ServerFTA\\Capabilities"

-- Reg file end -- ---

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:78 次

字数:11718

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文