Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty files #3

Closed
oalbaf opened this issue Sep 14, 2017 · 4 comments
Closed

Empty files #3

oalbaf opened this issue Sep 14, 2017 · 4 comments

Comments

@oalbaf
Copy link

oalbaf commented Sep 14, 2017

Hi,

My system is a DSM 6.0.

I followed the instructions, but I think I have a problem with the X-send-file Apache module configuration. Should this module be installed separately? There was no mod_xsendfile.conf-user file and I created it manually. I have followed all the steps in the manual and I think something is missing.

Everything seems to work fine, but when downloading a movie the file only has 3 bytes.

What could be the problem? Thank you!

@boing86
Copy link
Contributor

boing86 commented Sep 14, 2017

I use Apache2.4.
Webstation / General Settings / HTTp Backend Server -> Apache 2.4

Then there is this file with me.
/volume1/@appstore/Apache2.4/usr/local/etc/apache24/conf/extra/mod_xsendfile.conf

@oalbaf
Copy link
Author

oalbaf commented Sep 14, 2017

I use Apache 2.4 too

thanks for the clue! My path is:
/ volume1/@appstore/Apache2.4/usr/local/etc/apache24/conf/extra/

But when I edit mod_xsendfile.conf... Apache 2.4 then turn off and don't want start!! Help!!

Thank you!!

@oalbaf
Copy link
Author

oalbaf commented Sep 14, 2017

Solved!!

Solved!!

In mod_xsendfile.conf erase other paths in XSendFilesPath and only add your library path.

Thank you boing86 and yanncam!!

@yanncam
Copy link
Owner

yanncam commented Sep 15, 2017

Hello oalbaf, boing86,

Thank you for this issue and your solution.
Since several weeks / months, Synology had upgraded their web-server packages. Now, through the Synology store, it's possible to choose between Apache 2.2 or Apache 2.4.
So there is now different paths to the mod_xsendfile.conf file in the Synology file system.

From your issue, I've updated the README.md of this GitHub's project to include new paths that you provide.

Plus, for the future, I have indicated a generic SSH command to find the right mod_xsendfile.conf in the filesystem :

find / -name "*xsendfile*conf*"

Thank you again, I will close this issue.

Sincerely, and have fun with KodiWebPortal :) !

ycam

@yanncam yanncam closed this as completed Sep 15, 2017
@j1pe j1pe mentioned this issue Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants