mod_perl logo perl icon
previous page: Apache::httpd_conf - Generate an httpd.conf filepage up: mod_perl 1.0 APInext page: Apache::Resource - Limit resources used by httpd children

Apache::Status - Embedded interpreter status information






The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes
mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
mod_perl2 User's Guide

mod_perl2 User's Guide

By Stas Bekman, Jim Brandt
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


Table of Contents

Synopsis

  <Location /perl-status>

    # disallow public access
    Order Deny, Allow
    Deny from all
    Allow from 127.0.0.1

    SetHandler  perl-script
    PerlHandler Apache::Status
  </Location>


TOP

Description

The Apache::Status module provides some information about the status of the Perl interpreter embedded in the server.

Configure like so:

  <Location /perl-status>

    # disallow public access
    Order Deny, Allow
    Deny from all
    Allow from 127.0.0.1

    SetHandler  perl-script
    PerlHandler Apache::Status
  </Location>

Other modules can "plugin" a menu item like so:

  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
     }
  ) if Apache->module("Apache::Status"); #only if Apache::Status is loaded

WARNING: Apache::Status must be loaded before these modules via the PerlModule or PerlRequire directives.



TOP

Options



TOP

Prerequisites

The Devel::Symdump module, version 2.00 or higher.



TOP

See Also

perl, Apache, Devel::Symdump, Data::Dumper, B, B::Graph



TOP

Maintainers

Maintainer is the person(s) you should contact with updates, corrections and patches.



TOP

Authors

Only the major authors are listed above. For contributors see the Changes file.






TOP
previous page: Apache::httpd_conf - Generate an httpd.conf filepage up: mod_perl 1.0 APInext page: Apache::Resource - Limit resources used by httpd children