mod_xsendfile

mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler.
Download

mod_xsendfile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • Nils Maier
  • Publisher web site:
  • http://celebnamer.celebworld.ws/stuff/mod_xsendfile/

mod_xsendfile Tags


mod_xsendfile Description

mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler. mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler.If it encounters the presence of such header it will discard all output and send the file specified by that header instead using Apache internals including all optimizations like caching-headers and sendfile or mmap if configured.mod_xsendfile is useful for processing script-output of e.g. php, perl or any cgi.· Some applications require checking for special privileges.· Other have to lookup values first (e.g.. from a DB) in order to correctly process a download request.· Or store values (download-counters come into mind).Benefits· Uses apache internals· Optimal delivery through senfile and mmap (if available).· Sets correct cache headers such as Etag and If-Modified-Since as if the file was statically served.· Processes cache headers such as If-None-Match or If-Modified-Since.Installation:· Grab the source.· Compile and install apxs -cia mod_xsendfile.c· Restart apacheRequirements:· ApacheWhat's New in This Release:· The configuration directive XSendFileAllowAbove has been added.· Initial FastCGI/CGI support has been added.· Filters are only added when needed.


mod_xsendfile Related Software