>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:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr  7 00:40:01 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>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

<extract>
UserDir web-docs 

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /*/web-docs>
    AllowOverride FileInfo AuthConfig Limit 
    Options +MultiViews +SymLinksIfOwnerMatch +IncludesNOEXEC +Indexes
    FancyIndexing on
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Order deny,allow
        Deny from all
    </Limit>
</Directory>

</extract>

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:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> 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!         ]



Reply via email to