Troubleshooting Tip: Directory Listing in Sun Java System Web Server 7.0Meena Vyas, May 2007 In response to inquiries, I wrote this tech tip to describe the configuration required for directory listing. This tip also tells you how to give both authenticated and unauthenticated users that access. To obtain a directory listing in Sun Java System Web Server 7.0, ensure that the
appropriate configuration is in place. That is, verify that your Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" Note: The
For a directory listing, users must have the list right. By default, Sun Java System
Web Server 7.0 does not grant that right to unauthenticated users. Verify that your
file that contains the Access Control Lists (ACLs)
Here are the relevant lines in the
version 3.0;
acl "default";
authenticate (user, group) {
prompt = "Sun Java System Web Server";
};
allow (read, execute, info) user = "anyone";
allow (list, write, delete) user = "all";
The line at the bottom grants the allow (read, execute, info, list) user = "anyone"; allow (write, delete) user = "all"; Note: For details on access control in Sun Java System Web Server 7.0, refer to Meena's two blogs: I and II. Refer to sun.com for more information on Sun Java System Web Server. And make sure to see the product hub put together for sys admins by the engineers and writers who developed the Sun Java Application Platform Suite. About the AuthorMeena Vyas, who joined the software industry in 1996, is a member of the Sun Java System Web Server development team. She has been working on Web Server releases since 2001 with a focus on Web security and Web-based Distributed Authoring and Versioning (WebDAV). Her blog addresses numerous technical topics in those areas. Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
BigAdmin SubscriptionsBigAdmin Areas
BigAdmin Sun Center
BigAdmin Topics |