books
Free Books / Computers / Practical mod_perl /

previous page: 4.3.4. The Confusion with use( ) in the Server Startup File
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 4.4.1. Constructing <Perl> Sections

4.4. Apache Configuration in Perl




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

With <Perl> ... </Perl>sections, you can configure your server entirely in Perl. It's probably not worth it if you have simple configuration files, but if you run many virtual hosts or have complicated setups for any other reason, <Perl>sections become very handy. With <Perl>sections you can easily create the configuration on the fly, thus reducing duplication and easing maintenance.[27]

[27]You may also find that mod_macro is useful to simplify the configuration if you have to insert many repetitive configuration snippets.

To enable <Perl>sections, build mod_perl with:

panic% perl Makefile.PL PERL_SECTIONS=1 [ ... ]

or with EVERYTHING=1.

 

Continue to:

  • prev: 4.3.4. The Confusion with use( ) in the Server Startup File
  • Table of Contents
  • next: 4.4.1. Constructing <Perl> Sections

Books by Stas Bekman:















TOP
previous page: 4.3.4. The Confusion with use( ) in the Server Startup File
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 4.4.1. Constructing &lt;Perl&gt; Sections

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com