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, 2 months ago by valerio.
-
AuthorPosts
-
September 14, 2014 at 9:56 am #11461valerioMember
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 #65470wzpModeratorYou 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.
Personally, I’d prefer Amazon S3 because using it lessens your server’s bandwidth usage.
September 15, 2014 at 7:09 am #65471valerioMemberThis 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 #65472adminKeymasterWhen 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 #65473valerioMemberOk but he has to send the file to amazon s3 ? and not in the WP-ADMIN …
September 16, 2014 at 11:47 pm #65474adminKeymasterWho 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 #65475valerioMemberI’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 #65476adminKeymasterOh 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 #65477valerioMemberOk Mod_xsendfile is working now
I had to write the path in the VirtualHost config
don’t need Amazon.
Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.