Reviewing Site Permissions

The default site permissions are set by the file /var/tomcat4/conf/sites.policies.d/site<n>.policy and the site context is set by the file /var/tomcat4/conf/sites.xml.d/site<n>.xml where site<n> is the site index.

You can review the site permissions anytime.

To review site permissions

  1. Log on to the server as root user.
  2. At the command prompt, type the following:

    sitelookup -d < domain name>

    The following output displays.

    <domain name>, admin<n>,site<n>,/home/virtual/<domain name>,<admin name>.

    The output indicates that the site index of <domain name> is site<n>. Use the site index to determine site permissions.

For example, if a site named www.myco.com has the site index site<n>, then the file /var/tomcat4/conf/sites.policies.d/site<n>.policy will consist of default site permissions for site<>. This file appends to the file catalina.policy.

In this section:

Reviewing Site Context

Adding Security Permissions

Adding an Additional Context Path

Adding Additional Class Paths