You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have issues with files taking a long time to download, make sure you reconfigure your webserver and add this line. You should see a notable difference in download time.
677
+
If you have issues with files taking a long time to download, make sure you reconfigure your webserver and add this line. You should see a notable difference in download time.<br>
678
+
679
+
Your webserver must be configured to support X-Sendfile, both by enabling the module and setting options in your web server's configuration.<br>
680
+
If you are running Apache 2.4 on Ubuntu, for example, this would mean installing and enabling the module:
681
+
<pre>
682
+
sudo apt install libapache2-mod-xsendfile
683
+
sudo a2enmod xsendfile
684
+
</pre>
685
+
Then in your active vhost for Chamilo, you would have to add the following lines, where the path is the same as your DocumentRoot (we use /var/www/chamilo in this example):
Si tiene problemas con los archivos que tardan mucho tiempo en descargarse, asegúrese de reconfigurar su
798
798
servidor web y agregar esta línea. Debería ver una diferencia notable en el tiempo de descarga.
799
+
800
+
El servidor web tiene que ser configurado para soportar X-Sendfile, por activar el módulo y por configurar opciones en su configuración.<br>
801
+
Si tiene Apache 2.4 en Ubuntu, por ejemplo, tendría que ser algo así:
802
+
<pre>
803
+
sudo apt install libapache2-mod-xsendfile
804
+
sudo a2enmod xsendfile
805
+
</pre>
806
+
De ahí, en su vhost para Chamilo, tendría que añadir las líneas siguientes, donde el path es el mismo que su DocumentRoot (usamos /var/www/chamilo en este ejemplo):
Copy file name to clipboardExpand all lines: documentation/installation_guide_fr_FR.html
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -720,14 +720,30 @@ <h2><a id="13._Changing_language_names_order"></a>11. Changer l'ordre nom/préno
720
720
<hrstyle="width: 100%; height: 2px;" />
721
721
<h2><aid="14._Improving_files_download"></a>12. Améliorer la performance des téléchargements de fichiers</h2>
722
722
<div>
723
-
File download can be very slow when passing through a PHP script to control permissions. One solution to this
724
-
is to use the X-Sendfile header, which depends on a module on the webserver. <ahref="https://stackoverflow.com/a/3731639/1406662">Check https://stackoverflow.com/a/3731639/1406662 for more details on implementing Sendfile</a>.
725
-
Chamilo LMS 1.9.8 (and following versions) supports the X-Sendfile headers, but requires a specific line of configuration to be
726
-
added to configuration.php:
723
+
Le téléchargement de fichiers peut être très lent quand il passe au travers d'un script PHP qui contrôle les permissions. One solution to this
724
+
Une solution pour cela est d'utiliser les en-têtes X-Sendfile, qui dépendent d'un module du serveur web. <ahref="https://stackoverflow.com/a/3731639/1406662">Lisez https://stackoverflow.com/a/3731639/1406662 pour plus de détails concernant son impl&eacut;mentation</a>.
725
+
Chamilo LMS 1.9.8 (et les versions suivantes) supporte les en-têtes X-Sendfile, mais exige une ligne de configuration spéciale à ajouter à configuration.php :
If you have issues with files taking a long time to download, make sure you reconfigure your webserver and add this line. You should see a notable difference in download time.
729
+
Si vous avez des soucis avec le téléchargement trop lent de fichiers, essayez cette option. Vous devriez observer une différence sensible dans les temps de téléchargement.
730
+
731
+
Votre serveur web doit être configuré pour supporter X-Sendfile, en activant le moédule correspondant ainsi qu'une configuration de votre vhost.<br>
732
+
733
+
Si vous utilisez Apache 2.4 sur Ubuntu, par exemple, ça voudrait dire installer et activer le module X-Sendfile :
734
+
<pre>
735
+
sudo apt install libapache2-mod-xsendfile
736
+
sudo a2enmod xsendfile
737
+
</pre>
738
+
Ensuite il faut configurer le vhost actif de Chamilo en ajoutant les lignes suivantes, où le path est le même que votre DocumentRoot (nous utilisons /var/www/chamilo dans cet exemple) :
0 commit comments