Received: (qmail 18354 invoked by uid 2012); 7 Apr 1999 07:33:46 -0000 Message-Id: <19990407073346.18353.qmail@hyperreal.org> Date: 7 Apr 1999 07:33:46 -0000 From: David Tucker Reply-To: davet@iafrica.com To: apbugs@hyperreal.org Subject: In no index.html is present you cannot view contents of directory X-Send-Pr-Version: 3.2 >Number: 4204 >Category: mod_userdir >Synopsis: In no index.html is present you cannot view contents of directory >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Apr 7 00:40:01 PDT 1999 >Last-Modified: Wed Apr 7 04:24:29 PDT 1999 >Originator: davet@iafrica.com >Organization: >Release: 1.3.6 >Environment: FreeBSD 3.1-STABLE FreeBSD 3.1-STABLE #1: Tue Apr 6 11:45 >Description: I have the following in my httpd.conf in /usr/local/etc/apache UserDir web-docs # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # AllowOverride FileInfo AuthConfig Limit Options +MultiViews +SymLinksIfOwnerMatch +IncludesNOEXEC +Indexes FancyIndexing on Order allow,deny Allow from all Order deny,allow Deny from all Yet when I try to view a a directory with no index.html in it I get the message "You don't have permission to access /~anyusernameItry/" If Ihave a index.html in the web-docs dir i can view the file The error message I get in httpd-error-log is [Wed Apr 7 09:05:56 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:05:57 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:05:57 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:05:57 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:05:58 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:05:58 1999] [error] [client 196.31.1.34] Directory index forbidden by rule: /home/bradh/web-docs/ [Wed Apr 7 09:26:42 1999] [error] [client 196.31.1.222] Directory index forbidden by rule: /home/davet/web-docs/ [Wed Apr 7 09:28:00 1999] [error] [client 196.31.1.222] Directory index forbidden by rule: /home/davet/web-docs/ >How-To-Repeat: For the error message look at http://empty.noc.iafrica.com/~davet >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: coar State-Changed-When: Wed Apr 7 04:24:27 PDT 1999 State-Changed-Why: This is working correctly. Your container: doesn't match the directory in question: /home/bradh/web-docs/ Try "" instead. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]