Sun Java System Web Server 6.1 SP12 Administrator's Guide

Assigning a Configuration Style

Once you have created a configuration style, you can assign it to files or directories in your virtual server. You can specify either individual files and directories or wildcard patterns (such as *.gif).

To assign a configuration style, perform the following steps.

ProcedureTo assign a configuration style

  1. Access the Class Manager.

  2. Choose the Styles tab.

  3. Click the Assign Style link.

  4. Enter the prefix of the URL to which you are applying this configuration style.

    If you choose a directory inside the document root, only enter the path after the document root. If you enter /* after the directory, you apply the configuration style to all of the directory’s contents.

  5. Select the configuration style you want to apply.

    To remove any configuration style previously applied to the resource, apply the None configuration style. Click OK.

    For more information, see the Assign a Style page in the online help.