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.
| Tags | Internet Web HTTP Servers |
|---|---|
| Operating Systems | OS Independent |
| Implementation | C |
Recent releases


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.


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.


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


No changes have been submitted for this release.