logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_xsendfile 0.10 BETA
Author
MaierMan



Joined: 02 Aug 2006
Posts: 7

PostPosted: Wed 23 May '07 20:38    Post subject: mod_xsendfile 0.10 BETA Reply with quote

After some inquiries I decided to put some more work into mod_xsendfile.
The result is available as a beta.

Abstract
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.

Changes

  • Won't override Etag/Last-Modified if already set.
  • New Configuration directive: XSendFileIgnoreEtag
  • New Configuration directive: XSendFileIgnoreLastModified
  • New Configuration directive: XSendFilePath
  • Removed Configuration directive: XSendFileAllowAbove
    Use XSendFilePath instead.
  • Improved header handling for FastCGI/CGI output (removing duplicate headers).


Download/Information

Sources, Win32 binaries Apache2 and 2.2, Readme:
http://tn123.ath.cx/mod_xsendfile/beta/


Please test and let me know your results. Wink
Back to top
Horacio



Joined: 02 Jul 2010
Posts: 1

PostPosted: Fri 02 Jul '10 16:19    Post subject: x-sendfile configuration Reply with quote

Hi,
Thanks for this post.
I've installed and activated mod_xsendfile.so for APache 2.2.15 in WampServer under Windows Vista SP2.
I've some doubts about configuration since XSendFilePath isn't allowed in .htaccess. I try putting the config options in <IfModule> ... </IfModule>, and it seems to me that the script must be in the same directory defined by XSendFilePath. Is it true or am I doing something wrong.
Could you please give some more explanation about configuring this module for Apache?

Thanks and bests regards.
Back to top


Reply to topic   Topic: mod_xsendfile 0.10 BETA View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules