以超级用户身份登录并编辑所需网关实例的 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>
如果未指定这些值,则网关以默认值执行正常操作。