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 ...

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.