Parent Directory
|
Revision Log
|
Patch
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod 2004/12/06 20:09:09 110017 +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod 2004/12/06 20:11:46 110018 @@ -24,8 +24,8 @@ about the status of the Perl interpreter Configure like so: <Location /perl-status> - SetHandler modperl - PerlResponseHandler Apache::Status + SetHandler modperl + PerlResponseHandler Apache::Status </Location> Notice that under the @@ -37,21 +37,21 @@ C<L<"perl-script"|docs::2.0::user::confi core handler, configure C<Apache::Status> as: <Location /perl-status> - SetHandler perl-script - PerlResponseHandler Apache::Status + SetHandler perl-script + PerlResponseHandler Apache::Status </Location> Other modules can "plugin" a menu item like so: require Apache::Module; Apache::Status->menu_item( - 'DBI' => "DBI connections", #item for Apache::DBI module - sub { - my($r, $q) = @_; #request and CGI objects - my(@strings); - push @strings, "blobs of html"; - return \@strings; #return an array ref - } + 'DBI' => "DBI connections", #item for Apache::DBI module + sub { + my($r, $q) = @_; #request and CGI objects + my(@strings); + push @strings, "blobs of html"; + return \@strings; #return an array ref + } ) if Apache::Module::loaded('Apache::Status'); B<WARNING>: C<Apache::Status> must be loaded before these modules via
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |