Practical mod_perl / HTML Version / books


previous page: B.15.11. Apache::SSI—Implement Server-Side Includes in Perlpage up: HTML Version of the booknext page: B.16.2. Apache::DBILogConfig—Logs Access Information in a DBI Database

B.16.1. Apache::RedirectLogFix—Correct Status While Logging


Search







modperlbook.org


 HTML Version


 PDF Version


 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.




























Because of the way mod_perl handles redirects, the status code is not properly logged. The Apache::RedirectLogFix module works around this bug until mod_perl can deal with this. All you have to do is to enable it in the httpd.conf file.

PerlLogHandler Apache::RedirectLogFix

For example, you will have to use it when doing:

$r->status(304);

and do some manual header sending, like this:

$r->status(304);
$r->send_http_header( );

Available from the mod_perl distribution. See the module manpage for more information.

 

Continue to:

  • prev: B.15.11. Apache::SSI—Implement Server-Side Includes in Perl
  • Table of Contents
  • next: B.16.2. Apache::DBILogConfig—Logs Access Information in a DBI Database

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.15.11. Apache::SSI—Implement Server-Side Includes in Perlpage up: HTML Version of the booknext page: B.16.2. Apache::DBILogConfig—Logs Access Information in a DBI Database

© 2007 StasoSphere

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

Last modified Wed May 7 06:27:44 2008