Sun Java System Portal Server 7.1 Update 1 Release Notes

Rewriter


Rewriter ruleset for Ajax must be manually configured. (#6504423)

Solution:

To manually configure Rewriter rulset for Ajax, do the following:

  1. Log in to Portal Server console as administrator.

  2. Click the Secure Remote Access tab and click Rewriter Rulesets.

  3. Select generic_ruleset option in the Rewriter Rulesets table, and click Download.

  4. Download file as generic_ruleset.xml to a temporary directory.

  5. Edit the generic_ruleset.xml file and the following rules before the Function name="open" paramPatterns="y"/ rule.


    <Function name="*req*.open" paramPatterns=",y,"/> 
    	<Function name="_81.open" paramPatterns=",y,"/>
    	<Function name="http.open" paramPatterns=",y,"/>
    	<Function name="sunportal.AJAXPageStyles" paramPatterns="y"/>
  6. Save the modified file.

  7. In the Portal Server administrator console, select generic_ruleset in the Rewriter Rulesetstable, and click Delete.

  8. Click Upload New and upload the modified the generic_ruleset.xml file.

  9. Restart the gateway.

    The above rules are only for container provider related to JavaScript. Other rules may be required for channel-specific JavaScript.


During a separate session configuration, SRA rewriter rule set is not loaded. (#6477552)

Solution:

Select Secure Remote Access -> Rewrite Rulesets. If you do not find the following entries: default_gateway_ruleset, exchange_2000sp3_owa_ruleset, exchange_2003_owa_ruleset, inotes_ruleset, iplanet_mail_ruleset, sap_portal_ruleset, and wml_ruleset, execute the following commands:


./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/DefaultGatewayRuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/OWA2003RuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/OWASP3RuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/SAPPortalRuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/WMLRuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/iNotesRuleSet.xml
./psadmin create-rewriter-ruleset -u amadmin -f /tmp/passwd  -F 
/opt/SUNWportal/export/rewriter_rule/iPlanetMailExpressRuleSet.xml