Problema con la subida de archivos SSL / PHP.ini mod_fcgid , MaxRequestLen
Hola soporte Cpanel, WHM.
Tengo un problema que me va confudiendo mientras voy investigando..
El problema que quiero solucionar es sobre la subida de archivos desde el backend y frontend de mi sitio web.
Uso joomla 3.3.6.
Tengo un servidor dedicado.
Tengo como panel WHM
Cpanel
Lo primero que configure fue el PHP Configuration editor, para a"adir el atama"o de los archivos que quiero subir a mi web. Al principio funciono ma somenos, ya que yo queria subir mas de 3GB en cantidad y 500MB por archivo. No funciono esa configuracion por lo que solo podia subir 3 archivos de 130MB, en cantidad 400MB maximo. El problema aqui es que mi joomla no reconocia la configuracion que hice en el php.
Mas tarde compre un certificado SSL, despues de haberlo activado ya no podia subir 3 archivos de 130MB ni siquiera un archivo. Navegando por internet para solucionar el problema encontre esto:
1.-https://www.howtoforge.com/apache2-mod_fcgid-http-request-length-exceeds-maxrequestlen
2.-http://forums.cpanel.net/f442/apache-graceful-restarts-fastcgi-mod_fcgid-cant-lock-process-table-pid-151373-p2.html
3.-http://stackoverflow.com/questions/18279007/413-request-entity-too-large-on-https
4.-http://stackoverflow.com/questions/8744107/increase-max-execution-time-in-php
5.-https://doc.owncloud.org/server/7.0/admin_manual/configuration/big_file_upload_configuration.html
De esos links referidos solo pude entender 3 pero no me funcionaron. Luego de editar el mod_fcgid, en FcgidMaxRequestLen para agregar la cantidad de 100000000. Luego intente subir archivos para saber si esta configuracion funcionaria, el resultado fue que nuevamente podia subir archivos pero solo 3 archivos de 130Mb y en cantidad 400MB, asi es.. volvi como al principio, tenia el primer problema, luego de investigar nuevamente, intente configurar y a"adir unos codigos en: Apache configuration/Include editor. Aqui fue cuando me di cuenta que la configuracion que habia hecho al a"adir FcgidMaxRequestLen 100000000 estaba mal, ya que la opcion Include editor no me funcionaba y me decia sobre un error en FcgidMaxRequestLen 100000000. Luego tuve dejar la configuracion por defecto de FcgidMaxRequestLen, y claro ahora estoy con el problema 2 del SSL.
Esto me esta volviedo loco, ya no se que editar y que si.. hace apenas 3 dias que obtuve mi dedicado y con ellos el manejo de raiz de todo los Paneles como WHM, Cpanel, acceso al dedicado usando Putty y tambien VMware vSphere.
Por favor algun soporte de Cpanel fuera tan amable de ayudarme.
Saludos Cordiales!
-
Hello :) I suggest finding an alternative method to upload these files other than PHP. Most web servers are not designed to accept uploads of that size through Apache/PHP. Instead, have you considered alternate methods of uploads such as FTP? Thank you. Translation: Hola :) Yo sugiero encontrar un m"todo alternativo para cargar estos archivos distintos de PHP. La mayor"a de los servidores web no est"n dise"ados para aceptar archivos de ese tama"o a trav"s de Apache / PHP. En su lugar, "ha considerado m"todos alternativos de archivos como FTP? Gracias. 0 -
Hola y gracias por responder, lo que sugiere no es una solucion al problema. La idea es que los usuarios suban archivos desde el frontend. Regards! 0 -
What's the specific error message you see in /usr/local/apache/logs/error_log or within the account's error_log file when the upload fails? Thank you. Translation: "Cu"l es el mensaje de error espec"fico que se ve en /usr/local/apache/logs/error_log locales usr o dentro del archivo error_log de la cuenta cuando falla la subida? Gracias. 0 -
Hola, gracias por responder, aqui esta el error_log [Wed Feb 25 15:26:33 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:26:33 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Wed Feb 25 15:26:33 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured. [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1" [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26" [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1" [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2" [Wed Feb 25 15:26:33 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On. [Wed Feb 25 15:26:34 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:26:34 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations Access denied for user 'leechprotect'@'localhost' (using password: YES) [Wed Feb 25 15:28:23 2015] [notice] Graceful restart requested, doing restart [Wed Feb 25 15:28:24 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:28:24 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations Access denied for user 'leechprotect'@'localhost' (using password: YES) [Wed Feb 25 15:28:26 2015] [notice] Graceful restart requested, doing restart [Wed Feb 25 15:28:28 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:28:28 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations Access denied for user 'leechprotect'@'localhost' (using password: YES) [Wed Feb 25 15:28:55 2015] [notice] Graceful restart requested, doing restart [Wed Feb 25 15:28:56 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:28:56 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations [Wed Feb 25 15:31:17 2015] [notice] Graceful restart requested, doing restart [Wed Feb 25 15:31:18 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:31:18 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations [Wed Feb 25 15:32:13 2015] [notice] caught SIGTERM, shutting down [Wed Feb 25 15:32:14 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:32:14 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Wed Feb 25 15:32:14 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured. [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1" [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26" [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1" [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2" [Wed Feb 25 15:32:14 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On. [Wed Feb 25 15:32:15 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:32:15 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations [Wed Feb 25 15:32:39 2015] [notice] Graceful restart requested, doing restart [Wed Feb 25 15:32:40 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 25 15:32:40 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations [Wed Feb 25 15:36:53 2015] [error] [client 179.7.75.108] File does not exist: /usr/local/apache/htdocs/favicon.ico [Wed Feb 25 15:36:53 2015] [error] [client 179.7.75.108] File does not exist: /usr/local/apache/htdocs/favicon.ico [Tue Feb 24 00:12:59 2015] [notice] caught SIGTERM, shutting down [Tue Feb 24 00:13:01 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Tue Feb 24 00:13:01 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Tue Feb 24 00:13:01 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured. [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1" [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26" [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1" [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2" [Tue Feb 24 00:13:01 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On. [Tue Feb 24 00:13:02 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Tue Feb 24 00:13:02 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations [Tue Feb 24 00:13:42 2015] [notice] caught SIGTERM, shutting down [Tue Feb 24 00:13:44 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Tue Feb 24 00:13:44 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Tue Feb 24 00:13:44 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured. [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1" [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26" [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
Regards!0 -
Feel free to open a support ticket using the link in my signature and we can have one of our Spanish-speaking analysts take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. Translation: Si"ntase libre para abrir un ticket de soporte utilizando el enlace en mi firma y podemos tener uno de nuestros analistas de habla hispana a echar un vistazo m"s de cerca. Puede publicar el n"mero de ticket aqu" para que podamos actualizar este hilo con el resultado. Gracias. 0 -
Acabo de enviar un ticket, gracias! Regards! 0 -
Could you let us know the ticket number so we can update this thread with the outcome? Thank you. Translation: "Podr"a hacernos saber el n"mero de ticket para que podamos actualizar este hilo con el resultado? Gracias. 0 -
Hola, cuando se acabe mi suscripcion de LiteSpeed tendre que desactivarlo, pero al hacerlo me lanza este error: .vB Este es mi ticket : 6192899 Por favor seria tan amable de ayudarme con este problema, es el mismo, solo que he desactivado el Litespeed. 0 -
To update, it looks like ticket number 6192899 has been addressed by adding the correct entries to the account's individual php.ini file, as it did not match the global php.ini file. Thank you. Translation: Para actualizar, parece que el n"mero del billete 6192899 se ha abordado mediante la adici"n de las entradas correctas en el archivo php.ini individual de la cuenta, ya que no coincide con el archivo php.ini global. Gracias. 0
Please sign in to leave a comment.
Comments
9 comments