The Rewriter tab has two subsections:
Basic lists the Gateway service Rewriter basic attributes.
Table A–5 Gateway Service Rewriter Attributes - Basic
Attribute |
Default Value |
Description |
---|---|---|
Enable Rewriting of All URIs |
Specifies that any URI is rewritten without checking against the entries in the Proxies for Domains and Subdomains list. |
|
Map URIs to RuleSets |
*://*.iportal.com*/portal/* |default_gateway_ruleset */portal/NetFileOpenFileServlet* |null_ruleset *|generic_ruleset REPLACE_WITH_IPLANET_MAIL_SERVER_NAME|iplanet_mail_ruleset REPLACE_WITH_EXCHANGE_SERVER_ NAMEexchange_2000sp3_owa_ruleset *://*.iportal.com*/amconsole/*|default_gateway_ruleset REPLACE_WITH_INOTES_SERVER_NAME|inotes_ruleset http*://*/portal/NetFileController*|null_ruleset |
Associates a domain with the ruleset using the Map URIs to RuleSets list. Rulesets are created under Portal Server Configuration in the Access Manager administration console. |
Map Parser to MIME Types |
JAVASCRIPT=application/x-java XML=text/xml HTML=text/html;text/htm;text/x-component;text/wml;text/vnd.wap.wml CSS=text/css |
Associates new MIME types with HTML, JAVASCRIPT, CSS or XML. Separate multiple entries with a semicolon or a comma. |
URIs Not to Rewrite |
Lists the URIs not to rewrite. Note: Adding #* to this list allows URIs to be rewritten, even when the href rule is part of the ruleset. |
|
Default Domains |
Resolves a host name to a default domain and subdomain. This is specified during installation |
Advanced lists the Gateway service Rewriter advanced attributes.
Table A–6 Gateway Service Rewriter Attributes - Advanced
Attribute |
Default Value |
Description |
---|---|---|
Enable MIME Guessing |
Enables MIME guessing when MIME is not sent. You must add data to the Map Parser to URIs list box. |
|
Map Parser to URI Mappings |
Maps a parser to the URI. Multiple URIs are separated by a semicolon. For example HTML=*.html; *.htm;*Servlet means that Rewriter is used to rewrite the content for any page with a html, htm, or Servlet extension. |
|
Enable Masking |
Allows Rewriter to rewrite a URI so that the Intranet URL of a page is not seen. |
|
Seed String for Masking |
Specifies a seed string used for masking a URI. A masking algorithm generates this random string. |
|
URIs not to Mask |
Specifies Internet URIs not to be mask. This is used when applications (such as an applet) require an Internet URI. For example if you added */Applet/Param* to the list box, the URL would not be masked if the content URI http://abc.com/Applet/Param1.html is matched in the ruleset rule. |
|
Make Gateway protocol Same as Original URI Protocol |
Enables Rewriter to use a consistent protocol to access the referred resources in the HTML content. This applies only to static URIs, not to dynamic URIs generated in Javascript. |