You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2004/12/06 21:11:48 UTC
svn commit: r110018 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod
Author: stas
Date: Mon Dec 6 12:11:46 2004
New Revision: 110018
URL: http://svn.apache.org/viewcvs?view=rev&rev=110018
Log:
more cleanups
Modified:
perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod
Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod?view=diff&rev=110018&p1=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod&r1=110017&p2=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod&r2=110018
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/Status.pod Mon Dec 6 12:11:46 2004
@@ -24,8 +24,8 @@
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 @@
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
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org