httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52824] Conflicts between AllowOverride and AllowOverrideList (Manual is completely wrong!)
Date Mon, 19 Mar 2012 23:16:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52824

--- Comment #2 from Tianyin Xu <tixu@cs.ucsd.edu> 2012-03-19 23:16:09 UTC ---
(In reply to comment #1)
> I can't reproduce this with your example config. Maybe you have another
> AllowOverrideList line in your config that overrides the one with
> AuthDBMGroupFile?
> 
> And I think the code is ok: If the AllowOverride from parms->override does not
> match and we don't have a match from AllowOverrideList (override_list_ok), we
> get an error. If any of the two matches, we don't get an error.

Hi, Stefan, 

Thanks a lot for the response!

I do not have another AllowOverride or AllowOverrideList, and I replayed it.
The point here is not the AuthDBMGroupFile but the DirectoryIndex.

To make the thing more clear, let me explain a bit more.

(1) According to the example in AllowOverrideList
http://httpd.apache.org/docs/2.4/mod/core.html#allowoverridelist

The following setting should allow two things: (1) Allow the Indexes directive
grouping; (2) the AuthDBMGroupFile directive which is in the AuthConfig
grouping.

<Directory />
    AllowOverride Indexes
    AllowOverrideList AuthDBMGroupFile
</Directory>

(2) According to the description of AllowOverride:
http://httpd.apache.org/docs/2.4/mod/core.html#allowoverride

DirectoryIndex belongs to the Indexes grouping.

So, having (1) and (2), I suppose the DirectoryIndex directive should be
allowed in the .htaccess in the /. However, it is not allowed with the error
message shown in the last email. This is verified by the code logic: the
DirectoryIndex passed the AllowOverride checking but failed in the
AllowOverrrideList checking (i.e., the code snippets I showed in the previous
email).

Am I right, Stefan? Or I misunderstood sth? Please let me know :-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message