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

Frank N. tipopleita at worldonline.es
Wed Mar 17 23:29:58 CET 2004


Gracias Raul y gracias jesús, pero eso y lo hice porque me lo dijo alguien
en la lista. me puso un enlace a una web donde lo decían. De momento paso ya
porque no puedo esperar más. He instalado la extensión nf_download y parece
que va mejor, pero quisiera saber si hay alguna manera de simular
categorías. He leido algo de crear deferentes sysfolders pero no lo tengo
muy claro.

Un saludo a todos y gracias.
"Raul Romero Garcia" <typo3 at bgta.net> escribió en el mensaje
news:mailman.1462.1079532703.32178.typo3-ug-spain at lists.netfielders.de...
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.






More information about the TYPO3-UG-spain mailing list