[Typo3-UG Spain] Todavía con las descargas de más de 10 MB

Raul Romero Garcia typo3 at bgta.net
Wed Mar 17 21:07:43 CET 2004


Frank N. wrote:
> Hola a todos,
> 
> perdonad la insistencia pero me sigue siendo imposible configurar el Typo3
> para que soporte descargas de ficheros más o menos grandes....etc


Te adjunto lo que me ha enviado Jesus Hormigo, que ahora mismo no podía 
enviar mails a la lista...


---- FORWARDED MESSAGE ----
Problem noted on RedHat 8.0/9.0 with Apache 2.0.x, the error "Requested
content-length of 670955 is larger than the configured limit of 524288" was
occuring under Apache and a "Page not found" would appear in the browser.
Trying the above settings made no change with PHP, but on RedHat 8.0/9.0
there is an additional PHP config file, /etc/httpd/conf.d/php.conf, and
increasing the number on the line "LimitRequestBody 524288" solves the
issue.

Gentoo Linux has a file like the above mentioned where the limits are set,
the file is /etc/apache2/conf/modules.d/70_mod_php.conf

As a side note, check the max execution time in PHP.INI. Very large
attachments may take longer than the 30 seconds allowed. Symptoms may be
found by looking at the httpd error log and seeing "httpd in free():
warning: recursive call" yet the httpd does not core fault and die
altogether. For a 10 MB file attachment I set execution time to 120 seconds.


Gentoo - Update - Actually, I did not find the *mod_php.conf file in gentoo
had any of the above information. I modified the /etc/php4/php.ini file as
directed. Though, I did find a link to this file in the apache directory
under /etc/apache/conf/php.ini.

The file that needs to be adjusted in the RedHat 9 configuration of Apache
2.x is in /etc/httpd/conf.d/php.conf. The paths given above are inaccurate,
at least for RH9. This solves the Apache interference, but is not the only
limiter on large files.

Gentoo: After raising the above mentioned values to 10M in php.ini, you *do*
need to change "LimitRequestBody" in
/etc/apache2/conf/modules.d/70_mod_php.conf! I put mine to 2097152, which is
equivalent to 2M. This way, I can limit *each* attachment file size to 2M
while the message size is 10M.
---- FORWARDED MESSAGE ----


Espero que te sirva.  Gracias Jesús.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typo3.vcf
Type: text/x-vcard
Size: 177 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-ug-spain/attachments/20040317/9fa1517b/attachment.vcf 


More information about the TYPO3-UG-spain mailing list