mod_xsendfile 介绍
mod_xsendfile 是一个很小的 Apache2 的模块,用来生成 X-SENDFILE 头。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.
配置方法 .htaccess
<Files out.PHP>
XSendFile on
</Files>
mod_xsendfile 官网
https://tn123.org/mod_xsendfile/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。