httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: A related random question
Date Sat, 19 Oct 1996 16:48:30 GMT
Alexei Kosut wrote:
> 
> On Sat, 19 Oct 1996, Ben Laurie wrote:
> 
> > Err, actually, as I see it, it goes <Directory ...>, then .htaccess, then
> > <Location ...>, then <Files ...>. <Directory ...> and <Location
...> are not
> 
> That's not what I said. I said <Files> in .htaccess files, not
> .htaccess files in general. .htaccess files are *read* after
> processing <Directory> sections, yes.

I think they're actually interleaved, but I could be wrong. And I didn't mean
to sound like I was disagreeing ... I wasn't.

> What's in the <Files> sections
> are merged into the core per-dir config, along with the <Files>
> sections in the server config. file_walk then applies all (both
> server-config and .htaccess) of the <Files> sections to the
> request. At least, I think that's how it works... I kinda forget
> exactly. :)

A quick test shows this to be true, yep. I'm still not sure how it happens, but
it certainly happens!

Cheers,

Ben.

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.            Apache Group member (http://www.apache.org)

Mime
View raw message