# make sure that we test under Taint mode
PerlSwitches -T

PerlChildExitHandler ModPerl::Test::exit_handler

#for t/modules/include.t
<Directory @ServerRoot@/htdocs/includes>
    AddOutputFilter INCLUDES .shtml
    Options Indexes FollowSymLinks IncludesNoExec
</Directory>

<Directory @ServerRoot@/htdocs/includes-registry>
    SetHandler perl-script
    Options +ExecCGI +IncludesNoExec
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders +GlobalRequest
    AddOutputFilter INCLUDES .spl
</Directory>

<IfModule mod_perl.c>
    <IfDefine !MODPERL2>
        # This should not be touched, since we're running with mod_perl 2
        PerlModule Doesnt::Exist
    </IfDefine>
</IfModule>
