O'Reilly logo

Perl and Apache: Your visual blueprint for developing dynamic Web content by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. CONFIGURING APACHE TO EXECUTE PERL

Introducing the Apache CGI Handler

The Apache Common Gateway Interface (or CGI) handler is the core component in Apache that links incoming HTTP requests from users to the CGI Perl scripts you have developed.

There are several implementations of CGI in Apache, and you can dynamically install each one into an Apache server using a shared-object file. The simplest interface, mod_cgi, provides the most rudimentary conduit for launching an instance of Perl for each CGI request.

More complex interfaces, such as mod_perl, actually embed the Perl interpreter directly into Apache, this increases the speed of Apache and Perl when serving CGI requests. For more information about mod_perl, see Chapter 23.

The core ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required