httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@nueva.pvt.k12.ca.us>
Subject Re: <File> sections
Date Sun, 06 Oct 1996 18:45:06 GMT
On Sun, 6 Oct 1996, Ben Laurie wrote:

> It would appear from the code (and testing) that <Files> sections can be
> nested. Is this intended?

No and yes. No, you're not really supposed to do

<Files /whatever>
AAA
<Files /something/else>
BBB
</Files>
CCC
</Files>

However, you can't use the same check <Directory> and <Location> use,
because they prove false for .htaccess files. However, it doesn't
really hurt anything. The above is interpreted the same as:

<Files /whatever>
AAA
</Files>
<Files /something/else>
BBB
</Files>
<Files /whatever>
CCC
</Files>

(at least, it should be)

> Also, is there any documentation for <Files>?

No, not yet. At least, not that I've written. (I've meant to, but
haven't had a lot of time available lately).

-- 
________________________________________________________________________
Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/


Mime
View raw message