Practical mod_perl / HTML Book /



previous page: 21.9.1. Apache::Status—Embedded Interpreter Status Information
  
page up: HTML Version of the book
  
next page: 21.9.1.2. Extended configuration

21.9.1.1. Minimal configuration


This configuration enables the Apache::Status module with its minimum feature set. Add this to httpd.conf:

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

If you are going to use Apache::Status it's important to put it as the first module in the startup file, or in httpd.conf:

# startup.pl
use Apache::Status ( );
use Apache::Registry ( );
use Apache::DBI ( );

For example, if you use Apache::DBI and you don't load Apache::Status before Apache::DBI, you will not get the Apache::DBI menu entry (which allows you to see persistent connections).

 

Continue to:

  • prev: 21.9.1. Apache::Status—Embedded Interpreter Status Information
  • Table of Contents
  • next: 21.9.1.2. Extended configuration







TOP
previous page: 21.9.1. Apache::Status&#8212;Embedded Interpreter Status Information
  
page up: HTML Version of the book
  
next page: 21.9.1.2. Extended configuration


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com