Sun Java System Portal Server Secure Remote Access 7.2 管理指南

Procedure讓閘道通協定與原始 URI 通訊協定相同

當閘道以 http 與 https 兩種模式執行時,可以啟用 Rewriter 以使用一致的通訊協定存取 HTML 內容的參照資源。

例如,若原始 URL 為 http://intranet.com/Public.html,則會新增 http 閘道。若原始 URL 為 https://intranet.com/Public.html,則會新增 https 閘道。


備註 –

這將僅套用至靜態 URI,而非產生於 Javascript 的動態 URI。


    鍵入下列指令,並按下 Enter 鍵使閘道協定與原始的 URI 協定相同。

    • 啟用:

      PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a UseConsistentProtocolForGateway true

    • 停用:

      PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a UseConsistentProtocolForGateway false

    • 取得值:

      PS_INSTALL_DIR/bin/psadmin get-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a UseConsistentProtocolForGateway

亦請參閱

「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin set-attribute」「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin get-attribute」