OK, looks like no-one has any ideas - maybe I should rephrase the question.
Does anyone here have Directory working in Perl sections in mod_perl 1.25 or above?
Thanks,
Jim
On Mon, Oct 29, 2001 at 08:58:24AM +, James Stalker wrote:
> Hi,
>
> I have hit a problem with the latest couple of versions of mod_perl, and I wondered
>if anyone might know a solution.
>
> We're using Apache 1.3.22 with mod_perl 1.26, and there appears to be a problem with
>the directive in perl sections...
> e.g.
>
> $Directory{$DocumentRoot}={
> Options => '-Indexes FollowSymLinks',
> AllowOverride => 'None',
> SetHandler => 'perl-script',
> PerlHandler => 'Apache::EnsEMBL::SendDecPage',
> order => 'deny,allow',
> allow => 'from all',
> };
>
> does not work in a section but it works fine outside:
>
>
> Options -Indexes FollowSymLinks
> AllowOverride None
> SetHandler perl-script
> PerlHandler Apache::EnsEMBL::SendDecPage
> order deny,allow
> allow from all
>
>
> /perl-status reports that the former looks as I would expect:
>
> %Directory = (
> '/mysql/ensembl/www/server/htdocs' => {
> 'Deny' => 'from all',
> 'AllowOverride' => 'None',
> 'Order' => 'deny,allow',
> 'PerlHandler' => 'Apache::EnsEMBL::SendDecPage',
> 'Options' => '-Indexes FollowSymLinks',
> 'SetHandler' => 'perl-script'
> },
> );
>
> There are no errors reported, but the handler simply doesn't kick in. We have been
>using this config for some months now, and this worked fine in 1.21. It stopped
>working by at least version 1.25.
>
> Anybody have any ideas?
>
> Regards,
>
> James
--
James Stalker
Senior Web Developer - Project Ensembl - http://www.ensembl.org