perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: DIR_MERGE and .htaccess
Date Wed, 05 Jul 2000 07:54:12 GMT
On Tue, 4 Jul 2000, Rick Myers wrote:

> On Jul 04, 2000 at 14:40:26 +0100, Matt Sergeant twiddled the keys to say:
> > Shouldn't DIR_MERGE be called when .htaccess files are found at different
> > levels, e.g:
> > 
> > /axkit/.htaccess
> > and
> > /axkit/test/.htaccess
> > 
> > I ask for /axkit/test/test.xsp
> > 
> > I would have expected it to ask for both .htaccess files and try and merge
> > the two using DIR_MERGE, but it doesn't. Am I missing something, or is
> > this expected functionality?
> 
> I can't answer that question, but a while back I noticed that sometimes
> PerlSetVar's weren't being seen by $r->dir_config as I'd expected.
> Namely, within the "global" section of a <VirtualHost>. I wrote a little
> module as an example, but never got around to voicing anything about it.
> 
> From what I saw then, DIR_MERGE nor SERVER_MERGE ever got called at all.
> Maybe we're missing the same thing?

Maybe. I think this is a core Apache problem. It seems that DIR_MERGE
isn't called for two matching <Files> sections either, which is
disappointing for me. I'd like to be able to go:

<Files *.xsp>
...
</Files>

<Files example.xsp>
...
</Files>

And have both sections merged.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


Mime
View raw message