Skocz do zawartości

[community.invisionpower.com - pliki] [K-34] IP.Downloads XSendfile Support


Rekomendowane odpowiedzi

Opublikowano

DISCLAIMER: This hook will not work out of the box. This hook is intended for advanced users. Free support on installing and configuring XSendfile support on your respected webserver will not be guaranteed. Please do your research, read the README and understand what XSendfile actually is and how it works before attempting to use this hook.

 

This hook enables XSendfile support for IP.Downloads. For forum attachments, please use this hook:

XSendfile basically negates the need to have PHP handle file transfers. This is favorable for many reasons, especially if you run a forum that hosts a lot of large downloads.

 

Documentation links:

Apache: https://tn123.org/mod_xsendfile/

Nginx: http://wiki.nginx.org/XSendfile

Lighttpd: http://redmine.light...HTTPD-send-file

 

Important notes:

  • When using this hook, you cannot restrict the maximum number of simultaneous downloads. As the download is being handed over to the web server, IP.Downloads will not know when a user actually has a download in progress. There is no way around this.
  • Speed throttling will only work with Nginx, as Nginx (as far as I know) is the only web server that supports download rate limiting with X-Sendfile.

Pobierz plik

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.