#PerlOpmask default =pod =head1 NAME mod_perl test configuration file =head1 DESCRIPTION umm, we use this to test mod_perl =cut #we do this to test that `PerlSendHeader Off' will work PerlHandler Apache::Registry PerlSendHeader On Options ExecCGI #make sure all regex stuff works #BrowserMatch Mozilla/2 nokeepalive #PerlPassEnv PERL5LIB PERL5OPT #PerlPostReadRequestHandler Apache::StatINC #PerlRestartHandler Apache::Symbol #PerlFreshRestart On PerlSetVar UndefOnReload On #Configuration directives specific to mod_perl ServerRoot ./t User nobody Group nogroup Port 8529 ServerName localhost DocumentRoot ./t/docs #mod_perl stuff #-Tw PerlTaintCheck On PerlWarn On PerlPassEnv TERM EDITOR NOCHANCE USER PerlSetEnv KeyForPerlSetEnv OK PerlSetVar KeyForPerlSetVar OK PerlScript docs/startup.pl PerlScript docs/stacked.pl Alias /perl/ ./t/net/perl/ Alias /perl_xs/ ./t/net/perl/ Alias /dirty-perl/ ./t/net/perl/ Alias /cgi-bin/ ./t/net/perl/ PerlHandler My::DirIndex ErrorDocument 500 /perl/server_error.pl SetHandler perl-script PerlHandler Apache::Registry::handler Options +ExecCGI PerlSendHeader Off ErrorDocument 500 /perl_xs/server_error.pl SetHandler perl-script PerlHandler Apache::RegistryXS Options +ExecCGI PerlSendHeader Off Options +ExecCGI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On SetHandler perl-script PerlHandler Apache::Registry::handler Options +ExecCGI PerlSendHeader Off PerlSetupEnv Off SetHandler perl-script PerlHandler Apache::RegistryXS Options +ExecCGI PerlSendHeader Off PerlSetupEnv Off SetHandler cgi-script Options +ExecCGI SetHandler perl-script PerlHandler Apache::Registry::handler Options +ExecCGI PerlSendHeader On PerlSetupEnv On SetHandler perl-script PerlHandler Apache::RegistryXS Options +ExecCGI PerlSendHeader On PerlSetupEnv On PerlSetVar StatusPeek On PerlSetVar StatusGraph On PerlSetVar StatusDumper On SetHandler perl-script PerlHandler Apache::Status PerlSetVar StatusPeek On PerlSetVar StatusGraph On PerlSetVar StatusDumper On SetHandler perl-script PerlHandler Apache::Status #PerlSetEnv PERL_RLIMIT_CPU 25 #PerlChildInitHandler Apache::Resource #PerlChildInitHandler My::child_init #PerlChildExitHandler My::child_exit #end mod_perl stuff ErrorLog logs/mod_perl_error_log PidFile logs/mod_perl_httpd.pid AccessConfig /dev/null ResourceConfig conf/srm.conf TypesConfig /dev/null TransferLog /dev/null ScoreBoardFile /dev/null AddType text/x-server-parsed-html .shtml AddType text/html .html AddType text/perl-module .pm Action text/perl-module /perl/action.pl #PerlModule Apache::Registry #PerlModule Apache::Safe # #Options ExecCGI #SetHandler perl-script #PerlHandler Apache::Registry::handler #PerlDispatchHandler Apache::Safe::handler # #protect mod_include #perl's # #PerlDispatchHandler Apache::Safe::handler # #test some other modules if available SetHandler perl-script PerlHandler Apache::Sandwich PerlSetVar HEADER /test.html PerlSetVar FOOTER "/perl/cgi.pl?PARAM=1 /perl/io/perlio.pl" ErrorDocument 403 /stage-redir ErrorDocument 404 /stage-redir #Andreas' Apache::Sandwich # the name of this location must match the ErrorDocument redirects # above # PerlSetVar apache_stage_regex " ^ (/STAGE/[^/]*) (.*) $ " # This regex has to split a staged URI into two parts. It is # evaluated with the /ox switch in effect, so this will NOT be a # per-directory variable. The first part will be thrown away and # just the second part will be served if the original URI cannot # be accessed. In case of 301 and 302 redirects the first part # will be prepended again. The default regex is defined as above # which means that URIS will be split into "/STAGE/anyuser" and # the rest. SetHandler perl-script PerlHandler Apache::Stage Options +ExecCGI #Apache::ePerl Options +ExecCGI SetHandler perl-script PerlHandler Apache::ePerl AddType text/html .ehtml #HTML::Embperl SetHandler perl-script PerlHandler HTML::Embperl Options +ExecCGI SSLDisable SSLCacheServerPath /tmp SSLCacheServerPort /tmp/gcache_port SSLDisable SSLCacheServerPath /tmp SSLCacheServerPort /tmp/gcache_port SetHandler server-status SetHandler server-info SetHandler perl-script PerlHandler Apache::ModuleDoc SetHandler perl-script PerlHandler $My::Obj->method