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.

It is useful for processing script-output of e.g. php, perl or any cgi.

WWW: http://celebnamer.celebworld.ws/stuff/mod_xsendfile/

PR:		ports/105784
Submitted by:	Andrew Bennett <andrew@mystock.com>
This commit is contained in:
Pav Lucistnik 2006-12-30 15:57:15 +00:00
parent 62e48670ba
commit 98c03c85c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181061
4 changed files with 35 additions and 0 deletions

View file

@ -387,6 +387,7 @@
SUBDIR += mod_vhs
SUBDIR += mod_webapp
SUBDIR += mod_webkit
SUBDIR += mod_xsendfile
SUBDIR += mod_zap
SUBDIR += moinmoin
SUBDIR += momspider

View file

@ -0,0 +1,20 @@
# New ports collection makefile for: mod_xsendfile Apache module
# Date created: 2006-11-23
# Whom: Andrew T. Bennett <potatosaladx@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mod_xsendfile
PORTVERSION= 0.9
CATEGORIES= www
MASTER_SITES= http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
MAINTAINER= potatosaladx@gmail.com
COMMENT= An Apache2 module that processes X-SENDFILE headers
USE_APACHE= 2.0+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (mod_xsendfile-0.9.tar.gz) = a7d22d4027386929c7d69c8f2b050c96
SHA256 (mod_xsendfile-0.9.tar.gz) = 2f07f3ddd03a9493601fef35668c2f0feb279edba2ae0172cd44feb8d7514272
SIZE (mod_xsendfile-0.9.tar.gz) = 10240

View file

@ -0,0 +1,11 @@
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.
It is useful for processing script-output of e.g. php, perl or any cgi.
WWW: http://celebnamer.celebworld.ws/stuff/mod_xsendfile/