books
Free Books / Computers / Practical mod_perl /

previous page: B.15.8. Apache::Layer—Layer Content Tree Over One or More Others
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: B.15.10. Apache::SimpleReplace—Simple Template Framework

B.15.9. Apache::Sandwich—Layered Document (Sandwich) Maker




Description

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

The Apache::Sandwich module allows you to add per-directory custom "header" and "footer" content to a given URI. Works only with GET requests. Output of combined parts is forced to text/html. The handler for the sandwiched document is specified by the SandwichHandler configuration variable. If it is not set, default-handler is used.

The basic concept is that the concatenation of the header and footer parts with the sandwiched file in between constitutes a complete valid HTML document.

Available from CPAN. See the module manpage for more information.

 

Continue to:

  • prev: B.15.8. Apache::Layer—Layer Content Tree Over One or More Others
  • Table of Contents
  • next: B.15.10. Apache::SimpleReplace—Simple Template Framework

Books by Stas Bekman:















TOP
previous page: B.15.8. Apache::Layer—Layer Content Tree Over One or More Others
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: B.15.10. Apache::SimpleReplace—Simple Template Framework

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