Book HomeJava and XSLTSearch this book

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 the handler they're designed to be used with, but you should also check the apache-modlist.html file on CPAN for the latest listing.

Module

Description

PerlHandler

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

PerlHeaderParserHandler

Apache::AgentDeny

Denies abusive clients

PerlAuthenHandler

Apache::Authen

Authenticates users

Apache::AuthCookie

Authenticates and authorizes users via cookies

Apache::AuthenDBI

Authenticates via Perl's DBI

Apache::AuthExpire

Expires authentication credentials

Apache::AuthenGSS

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

PerlAuthzHandler

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

PerlAccessHandler

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

PerlTypeHandler

Apache::AcceptLanguage

Sends file types based on user's language preference

PerlTransHandler

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

PerlFixupHandler

Apache::HttpEquiv

Converts HTML HTTP-EQUIV tags to HTTP headers

Apache::Timeit

Benchmarks Perl handlers

PerlLogHandler

Apache::DumpHeaders

Displays HTTP transaction headers

Apache::Traffic

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

Apache::WatchDog

Looks for problematic URIs

PerlChildInitHandler

Apache::Resource

Limits resources used by httpd children

Server configuration

Apache::ConfigLDAP

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

Database

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

Apache::Include

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 $'

Apache::StatINC

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

Miscellaneous

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::RegistryLoader

Apache::Registry startup script loader

Apache::Safe

Adaptation of safecgiperl

Apache::Session

Maintains client <-> httpd session/state

Apache::SIG

Signal handlers for mod_perl

Apache::State

Powerful state engine



Library Navigation Links

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