Sun Java System Web Server 6.1 SP9 Administrator's Guide

ProcedureTo limit access to a URL

  1. Use the Server Manager to select the server instance.

  2. Choose the Preferences tab.

  3. Click the Restrict Access link.

  4. Enter the URI you want to restrict in the Type in the ACL name section.

    For example: uri=/my_directory.

  5. Click Edit Access Control.

  6. Create a new rule to allows all users read access.

  7. Create another new rule to allow access for the owner of the directory.

  8. Deselect Continue for both the first and second rules.

  9. Click Submit and Apply your changes.

    A path for the URI is created relative to the document root. The entry in the ACL file would appear as follows: acl “uri=/my_directory”;