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 게이트웨이가 추가됩니다.


주 –

이는 Javascript로 생성된 동적 URI가 아닌 정적 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 Referencepsadmin set-attributeSun Java System Portal Server 7.2 Command-Line Referencepsadmin get-attribute