Projects / mod_xsendfile


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 a 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. It is useful for processing script output of PHP, Perl, or other CGI programs.

Operating Systems

Recent releases

  •  15 Oct 2010 05:36

    Release Notes: Incorrect headers will now be dropped early. Some documentation bugs were fixed. The Win32 binaries were built against the latest httpd using MSVC9. The MSVC Project files were updated.

    •  15 Oct 2010 05:31

      Release Notes: The Etag/Last-Modified header won't be overridden if it's already set. New configuration directives include XSendFileIgnoreEtag, XSendFileIgnoreLastModified, and XSendFilePath. The configuration directive XSendFileAllowAbove was removed. Use XSendFilePath instead. Header handling for FastCGI/CGI output was improved by removing duplicate headers.

      •  24 May 2007 00:05

        Release Notes: The configuration directive XSendFileAllowAbove has been added. Initial FastCGI/CGI support has been added. Filters are only added when needed.

        •  02 Apr 2006 08:36

          No changes have been submitted for this release.


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.