You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Wes Barris <we...@csiro.au> on 2003/11/20 01:32:33 UTC

mod_perl and the Includes directive

I have built apache and a number of modules under Redhat 9.  Here are
the versions:

set apache = 'apache_1.3.29'
set modssl = 'mod_ssl-2.8.16-1.3.29'
set openssl = 'openssl-0.9.7c'
set modperl = 'mod_perl-1.29'
set modauthext = 'mod_auth_external-2.1.18'

The only difference between this new version and all of the previous
ones that I have built is that this time I have added mod_perl.

Everything I have tested so far works except for one curious thing:
the Includes directive.  After building and installing, any attempt
to access a page would fail and result in this error appearing the the top
level error log file:

[Thu Nov 20 09:32:31 2003] [notice] child pid 22785 exit signal Segmentation fault (11)

It took a while to track this down, but I found that if I removed the
"Includes" directive from the httpd configuration, apache would serve
files (but without the includes working).

    <Directory "/">
#     Options Indexes FollowSymLinks Includes ExecCGI
       Options Indexes FollowSymLinks          ExecCGI
       XBitHack on
    </Directory>

Has anyone seen this behaviour?
-- 
Wes Barris
E-Mail: Wes.Barris@csiro.au



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: mod_perl and the Includes directive

Posted by Stas Bekman <st...@stason.org>.
Wes Barris wrote:
> I have built apache and a number of modules under Redhat 9.  Here are
> the versions:
> 
> set apache = 'apache_1.3.29'
> set modssl = 'mod_ssl-2.8.16-1.3.29'
> set openssl = 'openssl-0.9.7c'
> set modperl = 'mod_perl-1.29'
> set modauthext = 'mod_auth_external-2.1.18'
> 
> The only difference between this new version and all of the previous
> ones that I have built is that this time I have added mod_perl.
> 
> Everything I have tested so far works except for one curious thing:
> the Includes directive.  After building and installing, any attempt
> to access a page would fail and result in this error appearing the the top
> level error log file:
> 
> [Thu Nov 20 09:32:31 2003] [notice] child pid 22785 exit signal 
> Segmentation fault (11)
> 
> It took a while to track this down, but I found that if I removed the
> "Includes" directive from the httpd configuration, apache would serve
> files (but without the includes working).
> 
>    <Directory "/">
> #     Options Indexes FollowSymLinks Includes ExecCGI
>       Options Indexes FollowSymLinks          ExecCGI
>       XBitHack on
>    </Directory>
> 
> Has anyone seen this behaviour?

You need to show us the backtrace of the segfault. Please see:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html