On Sat, Jun 03, 2000 at 01:57:26PM -0700, Ask Bjoern Hansen wrote:
> On 2 Jun 2000 [EMAIL PROTECTED] wrote:
> 
> >   Modified:    src/modules/perl mod_perl.c
> >   Log:
> >   fix segfault
> 
> Don't forget to update Changes.
> 

I need some help explaining this change. 
Here's what happened:

        % cat >t/docs/Foo.pm
        package foo;
        sub handler { warn 'foo' } 
        1;

notice the typo, the package declaration says 'foo' instead of 'Foo'

        % cat >>t/conf/httpd.conf
        <Location /foo>
        PerlHandler Foo
        SetHandler perl-script
        </Location>

GET /foo will trigger the segfault. Well, under 5.00502 it does, but under 5.6
I get an (expected) 500 internal server error. 

-- 
Eric Cholet

Reply via email to