www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheldon Hearn <...@iafrica.com>
Subject mod_access/3454: AllowOverride Limit ignored for regex <Directory ~> in access.conf
Date Thu, 26 Nov 1998 13:57:13 GMT

>Number:         3454
>Category:       mod_access
>Synopsis:       AllowOverride Limit ignored for regex <Directory ~> in access.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 26 07:10:00 PST 1998
>Originator:     axl@iafrica.com
>Release:        1.3.3
gcc -O -pipe -fomit-frame-pointer
In access.conf, if I wrap the following in <Directory "/home/project/web-docs/">, .htaccess
Limit is enforced. If the following is wrapped in <Directory ~ "/home/.*/web-docs/">,
.htaccess Limit is not enforced:

Options Indexes FollowSymLinks Includes
AllowOverride AuthConfig Limit

The access.conf's <Directory /> sets a more restrictive ``AllowOverride None''.

This looks like an incomplete implimentation of the new regexp matching code for <Directory>
and <Location> directives.
Try to use a regexp <Directory ~> directive to AllowOverride so that .htaccess <Limit>s
are enforced in homedirs.
This may be a symptom of the same problem causing the likes of PR1829. I suspect it may also
be the cause of the problem reported in PR3019.
[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. ]
[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!         ]

View raw message