pydio Problem Upload mod_fcgid

Mar 12, 2014

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

The 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 ;)


Retour