perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@pobox.com>
Subject Re: Bug in PerlSections with ErrorDocument
Date Wed, 01 Mar 2000 06:21:35 GMT
On Wed, 16 Feb 2000, Michael schout wrote:

> Michael schout wrote:
> 
> > <Perl>
> >     $Location{'/foo'} = {
> >         'ErrorDocument' => [ [404 => '/notfound.html'] ]
> >     };
> > </Perl>
> 
> Okay.
> 
> An update.. I seem to get the desired behavior with:
> 
> <Perl>
>     $Location{'/foo'} = {
>         'ErrorDocument' => '404 /notfound.html'
>     };
> </Perl>
> 
> But this begs the question... Shouldnt this parameter accept a list? 

yes.  the quoting mod_perl does with <Perl> config I mentioned in the
other message only happens with array references.


Mime
View raw message