pydio Problem Upload mod_fcgid: HTTP request length (so far) exceeds MaxRequestLen

Capture d’écran 2014-03-12 à 16.27.01The Problem is that when i start upload a bigger upload ( a few 100MB) than the upload starts, goes from 0,1,2,3… then it goes back to 0% and the same beginns again.

Upload my files off again to 0 while my php.ini was configured. The problem is with apache level. In the logs I had this type of problem:

mod_fcgid: HTTP request length 15729624 (so far) EXCEEDS MaxRequestLen (15728640)

The problem comes from the http request. To change it you have to go:

vi / etc/apache2/mods-available/fcgid.conf

Edit the file:

<IfModule mod_fcgid.c>
AddHandler fcgid-script. Fcgi
FcgidConnectTimeout 20
</ IfModule>
MaxRequestLen # 15728640
MaxRequestLen 524288000

15728640 bytes = 2MB
524288000 bytes = 500MB
# To get around errors When Uploading upload pictures Increase the size to 15MB MaxRequestLen
MaxRequestLen 15728640

End with / etc/init.d/apache2 restart or service apache2 restart

The problem is resolved.

Enjoy ;)

 

 

Mes fichiers uploader repartait a 0 alors que mon php.ini était bien configuré. Le problème est au niveau d’apache. Dans les logs j’avais ce type de problème :

mod_fcgid: HTTP request length 15729624 (so far) exceeds MaxRequestLen (15728640),

Le probleme provient de la requete http. Pour la modifier il faut aller :

vi /etc/apache2/mods-available/fcgid.conf

Editer le fichier :

<IfModule mod_fcgid.c>
AddHandler    fcgid-script .fcgi
FcgidConnectTimeout 20
</IfModule>
#MaxRequestLen 15728640
MaxRequestLen 524288000

15728640 bytes = 2MB
524288000 bytes = 500MB

# to get around upload errors when uploading images increase the MaxRequestLen size to 15MB
MaxRequestLen 15728640

Terminer par /etc/init.d/apache2 restart ou service apache2 restart

Le probleme est réglé.

Enjoy ;)

Share

Les commentaires sont fermés.