Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/11/2009, 17:23
serbarmax
 
Fecha de Ingreso: enero-2003
Mensajes: 120
Antigüedad: 21 años, 3 meses
Puntos: 0
Pregunta Problema asignando max_file_upload .htaccess

Hola:

Quería aumentarle el límite al upload de archivos que está en 2Mb. seguramente alguien tuvo que hacerlo alguna vez, estoy en hosting ******* , intenté hacerlo por PHP pero no tuve éxito, y cuando lo quise poner en el .HTACCESS (minúsculas), me sale el siguiente error:

505 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, correo and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Bueno el .htaccess contiene lo siguiente:

php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 5000
php_value max_input_time 5000

Qué podría estar pasando?

También me pasa cuando le asigno permisos 777 a la carpeta de la aplicación.

Si alguien puede darme una manito.

Observando encontré un .htaccess en el raíz de la web y contiene lo siguiente:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName ********** . com . ar
AuthUserFile /home2/minombre/public_html/_vti_pvt/service.pwd
AuthGroupFile /home2/minombre/public_html/_vti_pvt/service.grp

Pero al querer agregarle el aumento de variables me tiró el mismo error solo que ahora en raíz y todas las subcarpetas carpetas.

también probé con el siguiente código PHP sin éxito

ini_set('post_max_size','10M');
ini_set('upload_max_filesize','10M');
ini_set('max_execution_time','5000');
ini_set('max_input_time','5000');


Muchas gracias.
__________________
Sergio.