books
Free Books / Computers / Practical mod_perl /

previous page: B.9.5. Apache::TransLDAP—Trans Handler Example
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: B.10.2. Apache::Usertrack—Emulate the mod_usertrack Apache Module

B.10.1. Apache::RefererBlock—Block Request Based Upon "Referer" Header




Description

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

Apache::RefererBlock will examine each request. If the MIME type of the requested file is one of those listed in RefBlockMimeTypes, it will check the request's Referer header. If the referrer starts with one of the strings listed in RefBlockAllowed, access is granted. Otherwise, if there's a RefBlockRedirect directive for the referrer, a redirect is issued. If not, a "Forbidden" (403) error is returned.

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

 

Continue to:

  • prev: B.9.5. Apache::TransLDAP—Trans Handler Example
  • Table of Contents
  • next: B.10.2. Apache::Usertrack—Emulate the mod_usertrack Apache Module

Books by Stas Bekman:















TOP
previous page: B.9.5. Apache::TransLDAP—Trans Handler Example
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: B.10.2. Apache::Usertrack—Emulate the mod_usertrack Apache Module

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