home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

11.7 Apache:: Modules

Apache::Registry is the most commonly used mod_perl module. But there are many more, all available on CPAN. The following table lists the Apache::* modules and which handler they're designed to be used with, but you should also check the apache-modlist.html file on CPAN for the very latest listing.

Apache::CallHandler Maps filenames to subroutine calls
Apache::Dir Controls directory indexing
Apache::Embperl Embeds Perl code in HTML files
Apache::ePerl Embedded Perl (ePerl) emulation
Apache::FTP Emulates an FTP proxy
Apache::GzipChain Compresses output from another handler
Apache::JavaScript Generates JavaScript code
Apache::OutputChain Chains multiple handlers via "filter" modules
Apache::PassFile Sends files via OutputChain
Apache::Registry Runs unaltered CGI scripts
Apache::RobotRules Enforces robots.txt rules
Apache::Sandwich Adds per-directory headers and footers
Apache::VhostSandwich Adds headers and footers for virtual hosts
Apache::SSI Implements server-side includes in Perl
Apache::Stage Manages a document staging directory
Apache::WDB Queries databases via DBI
Apache::AgentDeny Denies abusive clients
Apache::Authen Authenticates users
Apache::AuthCookie Authenticates and authorizes users via cookies
Apache::AuthenDBI Authenticates via Perl's DBI

Expires authentication credentials


Authenticates users with Generic Security Service

Apache::AuthenLDAP Authenticates users with LDAP
Apache::AuthNIS Authenticates users with NIS
Apache::BasicCookieAuth Accepts cookie or basic authentication credentials
Apache::DBILogin Authenticates using a backend database
Apache::DCELogin Authenticates within a DCE login context
Apache::AuthAny Authenticates with any username/password
Apache::AuthCookie Authenticates and authorizes via cookies
Apache::AuthzAge Authorizes based on age
Apache::AuthzDCE Authorizes based on DFS/DCE ACL
Apache::AuthzDBI Authorizes groups via DBI
Apache::AuthNIS Authenticates and authorizes via NIS
Apache::RoleAuthz Role-based authorization
Apache::AccessLimitNum Limits user access by the number of requests
Apache::DayLimit Limits access based on the day of the week
Apache::RobotLimit Limits access of robots

Sends file types based on user's language preference

Apache::DynaRPC Translates URIs into RPCs
Apache::Junction Mounts remote web server namespace
Apache::LowerCaseGETs Translates to lowercase URIs as needed
Apache::MsqlProxy Translates URIs into mSQL queries
Apache::ProxyPassThru Skeleton for vanilla proxy
Apache::ProxyCache Caching proxy

Converts HTML HTTP-EQUIV tags to HTTP headers

Apache::Timeit Benchmarks Perl handlers
Apache::DumpHeaders Displays HTTP transaction headers

Logs the number of bytes transferred on a per-user basis

Apache::WatchDog Looks for problematic URIs

Limits resources used by httpd children

Server Configuration

Configures server via LDAP and <Perl> sections

Apache::ConfigDBI Configures server via DBI and <Perl> sections
Apache::ModuleConfig Interfaces to configuration API
Apache::PerlSections Utilities for <Perl> sections
Apache::httpd_conf Methods to configure and run an httpd
Apache::src Methods for finding and reading bits of source
Apache::DBI Manages persistent DBI connections.
Apache::Sybase Manages persistent DBlib connections.
Apache::Mysql Manages persistent mysql connections.

Interfaces and Integration with Various Apache C Modules

Apache::Constants Constants defined in httpd.h

Enables use of Apache::Registry scripts within SSI with mod_include

Apache::Global Gives access to server global variables
Apache::LogError Gives an interface to aplog_error
Apache::LogFile Gives an interface to Apache's piped logs, etc.
Apache::Mime Gives an interface to mod_mime functionality
Apache::Module Gives an interface to Apache C module structures
Apache::Options Imports Apache::Constants "options"
Apache::Scoreboard Gives an interface to scoreboard API
Apache::Servlet Gives an interface to the Java Servlet engine
Apache::Sfio Gives an interface to r->connection->client->sf*
Development and Debug Tools
Apache::Debug Provides debugging utilities to mod_perl
Apache::DProf Hooks Devel::DProf into mod_perl
Apache::FakeRequest Implements Apache methods offline
Apache::Peek Emulates Devel::Peek for mod_perl
Apache::SawAmpersand Makes sure no one is using $& , $' , or $`

Reloads files that are use d or require d files when updated

Apache::Status Gets information about loaded modules
Apache::Symbol Supports symbols
Apache::test Defines handy routines for make test scripts
Apache::Byterun Runs Perl bytecode modules
Apache::Mmap Shares data via Mmap module
Apache::Persistent Stores data via IPC::, DBI, or disk
Apache::PUT Handler for the HTTP PUT method

Apache::Registry startup script loader


Adaptation of safecgiperl


Maintains client <-> httpd session/state


Signal handlers for mod_perl

Apache::State Powerful state engine

Previous: 11.6 <Perl> Sections Perl in a Nutshell Next: V. Databases
11.6 <Perl> Sections Book Index V. Databases

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.