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 1.0 :: updated
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3187
Location: Hilversum, NL, EU

PostPosted: Fri 17 Feb '12 22:43    Post subject: mod_xsendfile 1.0 :: updated Reply with quote

Module mod_xsendfile is now available for 2.4.

Includes the fix at https://github.com/nmaier/mod_xsendfile/issues/8 , it fixes the famous " (70008) Partial results..." error.


What is mod_xsendfile ?

mod_xsendfile is a 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.

Steffen


Last edited by Steffen on Mon 27 Apr '26 15:56; edited 3 times in total
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 745

PostPosted: Sun 11 Jun '17 12:03    Post subject: Reply with quote

VC15 added
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 745

PostPosted: Mon 17 Jun '19 14:47    Post subject: Reply with quote

VS16 added
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3187
Location: Hilversum, NL, EU

PostPosted: Tue 08 Nov '22 13:19    Post subject: Reply with quote

Available now for VS17
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3187
Location: Hilversum, NL, EU

PostPosted: Mon 27 Apr '26 15:51    Post subject: Reply with quote

Updated to mod_xsendfile-1.0-P1.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7476
Location: EU, Germany, Next to Hamburg

PostPosted: Sat 02 May '26 9:00    Post subject: Reply with quote

I was a bit tired of patching the file over and over again for my build. So I made a fork on github and updated the source code. https://github.com/JBlond/mod_xsendfile
Back to top
MIP



Joined: 06 Feb 2026
Posts: 4

PostPosted: Tue 05 May '26 17:51    Post subject: Reply with quote

Hello,
after upgrading from VS17 to VS18, I am seeing an issue with UNC paths that worked correctly before.
With mod_xsendfile on VS17, serving files from a UNC path works fine.
With VS18, access is denied and Apache logs:
Code:
AH10504: check_unc: UNC path //example/share/... not allowed by UNCList


With both VS17 and VS18, local files served through xsendfile work correctly.
Simplified config (anonymized):
Code:
XSendFile On
XSendFilePath "//FILESERV01/share"

<Directory "//FILESERV01/share">
    Require all granted
</Directory>

UNCList FILESERV01


I have tried different UNCList combinations without success.
Is this behavior intentional in the VS18 builds?
Is there a recommended way to allow UNC paths now?
Thanks
Back to top


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