95cf5f77d7
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.
13 lines
433 B
Text
13 lines
433 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1 2013/09/13 11:45:26 fhajny Exp $
|
|
|
|
To enable this module, add something like the following lines to
|
|
your Apache server configuration file:
|
|
|
|
LoadModule xsendfile_module lib/httpd/mod_xsendfile.so
|
|
|
|
<IfModule mod_xsendfile.c>
|
|
XSendFile on
|
|
</IfModule>
|
|
|
|
===========================================================================
|