Author: randyk Date: Sat Apr 2 14:12:11 2005 New Revision: 159832 URL: http://svn.apache.org/viewcvs?view=rev&rev=159832 Log: s/Apache/Apache2/
Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Status.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Status.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Status.pod?view=diff&r1=159831&r2=159832 ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Status.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Status.pod Sat Apr 2 14:12:11 2005 @@ -1,6 +1,6 @@ =head1 NAME -Apache::Status - Embedded interpreter status information +Apache2::Status - Embedded interpreter status information @@ -9,7 +9,7 @@ <Location /perl-status> SetHandler modperl - PerlResponseHandler Apache::Status + PerlResponseHandler Apache2::Status </Location> @@ -18,14 +18,14 @@ =head1 Description -The C<Apache::Status> module provides some information +The C<Apache2::Status> module provides some information about the status of the Perl interpreter embedded in the server. Configure like so: <Location /perl-status> SetHandler modperl - PerlResponseHandler Apache::Status + PerlResponseHandler Apache2::Status </Location> Notice that under the @@ -34,17 +34,17 @@ under that handler. To see the environment seen by handlers running under the C<L<"perl-script"|docs::2.0::user::config::config/C_perl_script_>> -core handler, configure C<Apache::Status> as: +core handler, configure C<Apache2::Status> as: <Location /perl-status> SetHandler perl-script - PerlResponseHandler Apache::Status + PerlResponseHandler Apache2::Status </Location> Other modules can "plugin" a menu item like so: - require Apache::Module; - Apache::Status->menu_item( + require Apache2::Module; + Apache2::Status->menu_item( 'DBI' => "DBI connections", #item for Apache::DBI module sub { my($r, $q) = @_; #request and CGI objects @@ -52,9 +52,9 @@ push @strings, "blobs of html"; return [EMAIL PROTECTED]; #return an array ref } - ) if Apache::Module::loaded('Apache::Status'); + ) if Apache2::Module::loaded('Apache2::Status'); -B<WARNING>: C<Apache::Status> must be loaded before these modules via +B<WARNING>: C<Apache2::Status> must be loaded before these modules via the C<PerlModule> or C<PerlRequire> directives (or from F<startup.pl>). @@ -122,7 +122,7 @@ =head2 C<StatusTerseSizeMainSummary> With this option C<On> and the C<B::TerseSize> module installed, a -I<"Memory Usage"> will be added to the C<Apache::Status> main menu. +I<"Memory Usage"> will be added to the C<Apache2::Status> main menu. This option is disabled by default, as it can be rather cpu intensive to summarize memory usage for the entire server. It is strongly suggested that this option only be used with a development server --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]