Re: How Do I change the Document Root Per Request

2015-03-06 Thread David E. Wheeler
On Mar 6, 2015, at 9:21 AM, David E. Wheeler wrote: >> >> PerlMapToStorageHandler Apache2::Const::OK >> >> Otherwise it just fails super early. By adding this line, I am able to >> freely set the filename later. > > Alas, this does *not* work for directory requests, just files. Directories

New Apache 2.4 directives such as "Require all denied" not understood in .htaccess by mod_perl (including current 2.0.9-dev)

2015-03-06 Thread Frédéric Buclin
While investigating https://bugzilla.mozilla.org/show_bug.cgi?id=1138463, I compiled mod_perl 2.0.9-dev, but it still has the same problem as 2.0.8 and older: mod_perl doesn't understand the new directives from Apache 2.4 used in .htaccess. Apache 2.4 now uses directives such as "Require all denie

Re: How Do I change the Document Root Per Request

2015-03-06 Thread David E. Wheeler
On Mar 3, 2015, at 2:27 PM, David E. Wheeler wrote: > And now I got it to work. The key was to add. > >PerlMapToStorageHandler Apache2::Const::OK > > Otherwise it just fails super early. By adding this line, I am able to freely > set the filename later. Alas, this does *not* work for dire