Gateway

创建 Web Interface 站点

要将 Web Interface 配置为使用文件类型关联,首先要创建 Web Interface 站点。Web Interface 站点可以位于直接访问控制或高级访问控制中。将以下目录复制到 Web Interface 站点:

  • app_data
  • 身份验证
  • 站点

当您将这些目录复制到 Web Interface 站点时,现有目录将被覆盖。

如果您使用的是 Web Interface 4.6 或 5.0,请在 Web Interface 站点目录中打开 web.config 文件,然后添加以下代码。您可以从 Citrix 支持站点下载此代码,网址为 http://support.citrix.com/article/ctx116253

pre codeblock
<location path="site/contentLaunch.ica">
<system.web>
<httpHandlers>
<add verb="\*" path="\*.ica" type="System.Web.UI.PageHandlerFactory"/>
</httpHandlers>
</system.web>
</location>
<location path="site/contentLaunch.rad">
<system.web>
<httpHandlers>
<add verb="\*" path="\*.rad" type="System.Web.UI.PageHandlerFactory"/>
</httpHandlers>
</system.web>
</location>
<!--NeedCopy-->

必须在 web.config 文件中的以下部分之后添加此代码:

pre codeblock
<location path="site/launch.rad">
        <system.web>
            <httpHandlers>
                <add verb="\*" path="\*.rad" type="System.Web.UI.PageHandlerFactory"/>
            </httpHandlers>
        </system.web>
    </location>
<!--NeedCopy-->
创建 Web Interface 站点