Practical mod_perl / HTML Book / books


previous page: B.9.5. Apache::TransLDAP—Trans Handler Examplepage up: HTML Version of the booknext page: B.10.2. Apache::Usertrack—Emulate the mod_usertrack Apache Module

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


Search







modperlbook.org


 HTML Book


 PDF Book


 Download Code


 Table of Contents


 Errata


 mod_perl2 User's Guide


 Sitemap





Add to Google



Creative Commons License


Written by
Eric Cholet (Logilune)
and Stas Bekman (StasoSphere).

Hosted by ibiblio.org.



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

Tags

mod_perl, modperl, Apache, perl, cgi, html, mod_perl, e-commerce, scalability, free, open source, OSS, apache, squid, high availability, modperl, linux, unix, Web, www, mod_perl, webserver, admin, apache, book, webmaster, tools, modperl, guide, docs, documentation, help, mod_perl, perl, information, apache, script, errata, eric cholet, perl, apache, mod-perl, stas bekman, mod_perl, cool, perl, Apache, performance, speed, choice




Other projects to check out: meta-religion.com is for those interested in Religious, Spiritual and Esoteric Phenomena. i-want-a-better.com is a community of people discussing what they would like to be improved in their lives and things they use and interact with. You may also want to find a healer in your area or read articles on variety of topics.






TOP
previous page: B.9.5. Apache::TransLDAP—Trans Handler Examplepage up: HTML Version of the booknext page: B.10.2. Apache::Usertrack—Emulate the mod_usertrack Apache Module

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Authors ] [ Search ]

Last modified Tue Feb 24 12:55:01 2009