Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

mod_xsendfile is not working

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › mod_xsendfile is not working

Tagged: mod_xsendfile

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 7 months ago by valerio.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • September 14, 2014 at 9:56 am #11461
    valerio
    Member

    Hello,

    I try to active the mod_xsendfile for sending big files.

    What I’ve done :

    – install mod_xsendfile on Apache

    – I restart Apache an I can see the module running if I do “apachectl -t -D DUMP_MODULES”

    – I modify the .htaccess with “XSendFile On”

    – I change the download method in “Addon Seeting” to the “Method 8, X-sendFile”

    But When I generate a download link and try to download, I get a 0 bytes file.

    What I see in the log :


    [09/14/2014 9:53 AM] – Status : Link details retrieved using file key. Link ID: 96

    [09/14/2014 9:53 AM] – Status : Download limit counting is enabled for this product. Product ID: 65. Current access count: 0

    [09/14/2014 9:53 AM] – Status : Handing download request from IP Address: 85.201.25.246

    [09/14/2014 9:53 AM] – Status : Unresolved DL file path = [redacted]

    [09/14/2014 9:53 AM] – Status : Resolved DL file path = [redacted]

    [09/14/2014 9:53 AM] – Status : Dispatching DL method = 8

    [09/14/2014 9:53 AM] – FAILURE :

    Yes, there is nothing in “Failure” that can help me :-/

    I’m using eStore v 7.1.1

    Can somebody help me ?

    By the way, I don’t want to use “Amazon S3”.

    Thank you

    September 14, 2014 at 12:40 pm #65470
    wzp
    Moderator

    You must first contact your hosting provider, and ask if they can install the mod_xsendfile module on your server. Note, mod_xsendfile only works if your site is running the Apache server.

    As an alternative, you can host your files on Amazon S3 and use eStore’s Amazon S3 integration feature.

    https://www.tipsandtricks-hq.com/ecommerce/amazon-web-services-simple-storage-service-aws-s3-integration-1101

    Personally, I’d prefer Amazon S3 because using it lessens your server’s bandwidth usage.

    September 15, 2014 at 7:09 am #65471
    valerio
    Member

    This is a private server, and i’m running Apache.

    I have successfully installed mod_xsendfile.

    I don’t want to use Amazon, it’ll complicate the life of my customer with sending files. I prefer he’ll stay in WordPress.

    September 15, 2014 at 10:53 pm #65472
    admin
    Keymaster

    When mod xsendfile is installed correctly, you won’t see that error. Did you get your hosting provider to install it for you?

    On a side note: amazon s3 doesn’t complicate anything. Your customer’s won’t even know that the download is coming from amazon s3.

    September 16, 2014 at 6:02 pm #65473
    valerio
    Member

    Ok but he has to send the file to amazon s3 ? and not in the WP-ADMIN …

    September 16, 2014 at 11:47 pm #65474
    admin
    Keymaster

    Who is “He”? You (the site admin) or the customer? Your customer just clicks on a link that estore gives them and downloads the item. They won’t know anything about s3.

    September 17, 2014 at 9:33 am #65475
    valerio
    Member

    I’m talking about the site admin (my customer) because I’m not adding video … he does.

    He has to send file to Amazon S3 ?

    September 17, 2014 at 11:07 pm #65476
    admin
    Keymaster

    Oh okay so this is not your site. Yes, the files will need to be uploaded to amazon s3 account first.

    September 18, 2014 at 9:19 am #65477
    valerio
    Member

    Ok Mod_xsendfile is working now :-)

    I had to write the path in the VirtualHost config

    don’t need Amazon.

    Thank you.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ