www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Hess <br...@usaonramp.net>
Subject general/1657: Multiple <Files> or <FilesMatch> in .htaccess
Date Mon, 12 Jan 1998 15:00:35 GMT

>Number:         1657
>Category:       general
>Synopsis:       Multiple <Files> or <FilesMatch> in .htaccess
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 12 07:10:00 PST 1998
>Originator:     brian@usaonramp.net
>Release:        1.3.b3
BSDI 3.1
BSD/OS speed.usaor.net 3.0 BSDI BSD/OS 3.0 Kernel #1: Mon Dec 22 17:31:49 EST 1997     brian@speed.usaor.net:/usr/src/sys/compile/SPEED
Trying to use the file level permissions in .htaccess and it only accepts the last entry.
 For example my .htaccess:

AuthType Basic
AuthName Stats
AuthUserFile /etc/.htpasswd
AuthGroupFile /etc/.htgroup

<Files ~ "file1.9*|mrtg*">
require user user1

<Files file2.html>
require group group1

In this scenario it ends up only looking at the 'require group group1' and
it gives me access to the entire directory.



[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message