以超級使用者身份登入並編輯所需閘道實例的 platform.conf 檔:
/etc/opt/SUNWportal/platform.conf.gateway-profile-name |
新增下列項目:
gateway.virtualhost= fully-qualified-gateway-host gateway-ip-address fully- qualified-reverse-proxyhost
gateway.enable.customurl=true (此值依預設設定為 false。)。
重新啟動閘道:
./psadmin start-sra-instance –u amadmin – f <password file> –N <profile name>– t <gateway>
如果不指定這些值,則閘道會預設成一般的運作方式。