Log into the Portal Server administration console as administrator.
Select the Secure Remote Access tab, and select the gateway profile for which you want to modify the attributes.
Select the Rewriter tab.
Under Basic Options, select the Enable Rewriting of All URIs checkbox to enable the Gateway to rewrite all URLs.
Click Save to complete.
Restart the Gateway from a terminal window:
./psadmin start-sra-instance –u amadmin – f <password file> –N <profile name>– t <gateway> |