Design of mod_perl
mod_perl is not a Perl module. It is a module of the Apache server, which is currently the most commonly used web server. With mod_perl, you can use Apache configuration directives not only to process CGI scripts much more efficiently, but also to handle all stages in processing a server request.
mod_perl embeds a copy of the Perl interpreter into the Apache
httpd executable, providing complete access to
Perl functionality within Apache. This enables a set of
mod_perl-specific configuration directives, all of which start with
the string Perl*
. Most of these directives are
used to specify handlers for various stages of the request, but not
all. In addition, mod_perl lets you embed Perl code into your Apache
configuration files (within <Perl>
..
. </Perl>
directives)
and allows you to use Perl for server side includes.
Get Webmaster in a Nutshell, Third 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.