Sun Java System Portal Server Secure Remote Access 7.2 Administration Guide

Configuring the Map URIs to RuleSets

Rulesets are created in the Rewriter service under Portal Server Configuration in the Portal Server management console. See the Portal Server Administration Guide for details.

After the ruleset is created, you associate a domain with the ruleset using the Map URIs to RuleSets field. The following two entries are added by default to the Map URIs to RuleSets field:

This means that for all pages from the default domain, the default Gateway ruleset is applied. For all other pages, the generic ruleset is applied. The default Gateway ruleset and the generic ruleset are pre-packaged rulesets.


Note –

For all the content appearing on the desktop, the ruleset for the default domain is used, irrespective of where the content is fetched from.

For example, assume that the desktop is configured to scrape the content from the URL yahoo.com. The Portal Server is in sesta.com. The ruleset for sesta.com is applied to the fetched content.



Note –

The domain for which you specify a ruleset must be listed in the Proxies for Domains and Subdomains list.


ProcedureTo Configure the Map URIs to RuleSets

  1. Log onto the Portal Server administration console as administrator.

  2. Select the Secure Remote Access tab, and click the profile name to modify its attributes.

  3. Select the Rewriter tab.

  4. Modify the following attributes:

    Attribute Name 

    Description 

    URI 

    Enter the required domain or host name and the ruleset in the Map URIs to RuleSets field and click Add. 

    The entry is added to the Map URIs to RuleSets field. 

    The format for specifying the domain or host name and the ruleset is as follows: 


    domain-name|ruleset-name

    For example: 


    eng.sesta.com|default

    Note –

    The order of priority for applying the ruleset is hostname-subdomain-domain.

    An example of entries in the Domain-based rulesets list is:


    sesta.com|ruleset1
    eng.sesta.com|ruleset2
    host1.eng.sesta.com|ruleset3
    • ruleset3 is applied for all pages on host1.

    • ruleset2 is applied for all pages in the eng subdomain, except for pages retrieved from host1.

    • ruleset1 is applied for all pages in the sesta.com domain, except for pages retrieved from the eng subdomain, and from host1.