Rewriter ruleset for Ajax must be manually configured. (#6504423)
Solution:To manually configure Rewriter rulset for Ajax, do the following:
Log in to Portal Server console as administrator.
Click the Secure Remote Access tab and click Rewriter Rulesets.
Select generic_ruleset option in the Rewriter Rulesets table, and click Download.
Download file as generic_ruleset.xml to a temporary directory.
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"/> |
Save the modified file.
In the Portal Server administrator console, select generic_ruleset in the Rewriter Rulesetstable, and click Delete.
Click Upload New and upload the modified the generic_ruleset.xml file.
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 |