registryprefork.pm

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PM 代码 · 共 68 行

PM
68
字号
package ModPerl::RegistryPrefork;use strict;use warnings FATAL => 'all';our $VERSION = '0.01';use base qw(ModPerl::Registry);if ($ENV{MOD_PERL}) {    require Apache2::MPM;    die "This package can't be used under threaded MPMs"        if Apache2::MPM->is_threaded;}sub handler : method {    my $class = (@_ >= 2) ? shift : __PACKAGE__;    my $r = shift;    return $class->new($r)->default_handler();}*chdir_file = \&ModPerl::RegistryCooker::chdir_file_normal;1;__END__=head1 NAMEModPerl::RegistryPrefork - Run unaltered CGI scripts under mod_perl=head1 Synopsis  # httpd.conf  PerlModule ModPerl::RegistryPrefork  Alias /perl-run/ /home/httpd/perl/  <Location /perl-run>      SetHandler perl-script      PerlResponseHandler ModPerl::RegistryPrefork      PerlOptions +ParseHeaders      Options +ExecCGI  </Location>=head1 Description=head1 Copyrightmod_perl 2.0 and its core modules are copyrighted underThe Apache Software License, Version 2.0.=head1 AuthorsL<The mod_perl development team and numerouscontributors|about::contributors::people>.=head1 See AlsoC<L<ModPerl::RegistryCooker|docs::2.0::api::ModPerl::RegistryCooker>>and C<L<ModPerl::Registry|docs::2.0::api::ModPerl::Registry>>.=cut

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?