Skip to main content

2026 年 11 月 7 日

變更連接埠號碼以讓 HTTP 重新導向至 Omnissa Horizon Connection Server

如果您在 Horizon Connection Server 上更換了預設連接埠 443,且希望允許 Omnissa Horizon Client 嘗試連線至連接埠 80 時進行 HTTP 重新導向,則必須在 Horizon Connection Server 上設定 locked.properties 檔案。

**附註:**如果您將 SSL 卸載至中繼裝置,則此程序將不會產生任何作用。啟用 SSL 卸載後,Horizon Connection Server 上的 HTTP 連接埠會直接對用戶端提供服務。

先決條件

確認您已將預設的連接埠 443 修改為其他連接埠。如果您使用安裝期間所設定的預設值,則無需執行此程序來保留 HTTP 重新導向規則。

程序

  1. 在 Horizon Connection Server 電腦上的閘道組態資料夾中,建立或編輯 locked.properties 檔案。

    例如:install_directory\Omnissa\Horizon\Server\sslgateway\conf\locked.properties

    locked.properties 檔案中的屬性區分大小寫。

  2. 將下列幾行新增至 locked.properties 檔案:

    frontMappingHttpDisabled.1=1:/admin*:missing
    frontMappingHttpDisabled.2=1:/dct*:missing
    frontMappingHttpDisabled.3=1:/rest*:missing
    frontMappingHttpDisabled.4=1:/view-vlsi*:missing
    frontMappingHttpDisabled.5=3:/error/*:file:docroot
    frontMappingHttpDisabled.6=5:*:moved:https::port
    
    

    在前面幾行中,變數 port 是用戶端應連線的連接埠號碼。

    如果您未新增上述最後一行設定,重新導向將仍然導向連接埠 443。其餘各行設定則是用來封鎖非 SSL Web 伺服器執行個體上的管理流量,同時仍可提供錯誤頁面。

  3. 重新啟動 Horizon Connection Server 服務,讓變更生效。

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…