Foros del Web » Administración de Sistemas » Apache »

si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo corregirlo?

Estas en el tema de si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo corregirlo? en el foro de Apache en Foros del Web. Hola. Si en la extensión de *.PHP hay una o varias MAYUSCULAS, Apache llora. Les ha sucedido? ¿por que sucede? ¿cómo se corrige? Estoy en ...
  #1 (permalink)  
Antiguo 29/04/2013, 18:13
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo corregirlo?

Hola.

Si en la extensión de *.PHP hay una o varias MAYUSCULAS, Apache llora.
  1. Les ha sucedido?
  2. ¿por que sucede?
  3. ¿cómo se corrige?
Estoy en W7 con Apache 2.2 y PHP 5.3.23
  #2 (permalink)  
Antiguo 02/05/2013, 17:53
Avatar de emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Revisá los error logs, eso no es normal, y menos en Windows que no distingue may de min en la urls
http://emprear.dnsd.info/xml.php
=
http://emprear.dnsd.info/Xml.pHp
=
http://emprear.dnsd.info/xml.PHP

o cualquier otra variante


Apache/2.2.21 (Win32) mod_fcgid/2.3.6 mod_aspdotnet/2.2
Win 7 Ultimate 64x
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.
  #3 (permalink)  
Antiguo 06/05/2013, 21:35
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Cita:
Iniciado por emprear Ver Mensaje
Revisá los error logs, eso no es normal, y menos en Windows que no distingue may de min
Gracias.

vacié el file [localhost-access.log]
vacié el file [localhost-error.log]

Abri el URL http://127.0.0.1/misterio.PHP y me sale en pantalla:
Código:
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.
Sin embargo los archivos

C:/Apache/logs/localhost-access.log
C:/Apache/logs/localhost-error.log

Continúan vaciós
  #4 (permalink)  
Antiguo 07/05/2013, 18:28
Avatar de emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

una duda, si ponés 127.90.0.1/misterio.php, se ejecuta bien?
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.
  #5 (permalink)  
Antiguo 07/05/2013, 19:16
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Cita:
Iniciado por emprear Ver Mensaje
si ponés 127.90.0.1/misterio.php, se ejecuta bien?
Que particular!, no sabia que ESA IP está en este sistema!, bueno, os cuento que retorna
Código:
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.
  #6 (permalink)  
Antiguo 07/05/2013, 20:29
Avatar de emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Cita:
Iniciado por Anarko Ver Mensaje
Que particular!, no sabia que ESA IP está en este sistema!, bueno, os cuento que retorna
Código:
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.
NOOOO se me escapó el 9

probá lo siguiente, crea un php sencillito, ni siquiera le pongas código php,ejemplo

hola.PHP
y dentro
Hola

Ejecutalo a ver que pasa, y por las dudas, si tenes un htaccess, renombralo

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.
  #7 (permalink)  
Antiguo 08/05/2013, 07:28
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Cita:
Iniciado por emprear Ver Mensaje
se me escapó el 9
Aún así, cargó!...

De lo otro:


Código de test.PHP:
Código PHP:
hola 
Salida de test.PHP:
Código:
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.
URL: http://127.0.0.1/test.PHP
  #8 (permalink)  
Antiguo 08/05/2013, 19:48
Avatar de emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: si hay caracter en MAYUSCULAS en extensión *.PHP Apache=error 500, ¿cómo c

Cita:
Iniciado por Anarko Ver Mensaje
Aún así, cargó!...

De lo otro:


Código de test.PHP:
Código PHP:
hola 
Salida de test.PHP:
Código:
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.
URL: http://127.0.0.1/test.PHP
No encontré ninguna documentación al respecto. por lo pronto descartá el tema de las versiones, yo tengo php 5.3.3 y el problema no se produce.
Que los logs de apache estén vaciós me suena raro, con tan solo iniciar y detenet Apache, algo siempre se escribe en el log
Ejemplo
Código:
[Wed May 08 13:14:49 2013] [notice] Child 4912: Child process is running
[Wed May 08 13:14:49 2013] [notice] Child 4912: Acquired the start mutex.
[Wed May 08 13:14:49 2013] [notice] Child 4912: Starting 64 worker threads.
[Wed May 08 13:14:49 2013] [notice] Child 4912: Starting thread to listen on port 8080.
[Wed May 08 13:14:49 2013] [notice] Child 4912: Starting thread to listen on port 80.
[Wed May 08 13:14:49 2013] [notice] Child 4912: Starting thread to listen on port 80.
[Wed May 08 13:14:54 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed May 08 13:14:54 2013] [notice] Child 4912: Exit event signaled. Child process is ending.
[Wed May 08 13:14:55 2013] [notice] Child 4912: Released the start mutex
[Wed May 08 13:14:56 2013] [notice] Child 4912: All worker threads have exited.
[Wed May 08 13:14:57 2013] [notice] Child 4912: Child process is exiting
[Wed May 08 13:14:57 2013] [notice] Parent: Child process exited successfully.
Asegurate las rutas de los error log en httpd.conf y que en php.ini no esté habilitado un archivo personalizado para grabar los errores.

2 pruebas extras que podés hacer,
la primera crea un archivo
hola.TXT con algún contenido y ejecutalo, a ver si el problema es por las mayúsculas ó solo con las mayúsculas y php.

La segunda, php 5.4 incluye su propio webserver, es más limitado que apache, pero podrías probar el tema de las mayusculas, se ejecuta desde la linea de comandos con
php.exe -S localhost:8080 -t www
podés cambiar el puerto y en mi ejemplo www es la carpeta raiz de la web, en este caso la he creado dentro de la carpeta que contiene php.exe, el archivo indice por defecto es index.php, crea otros archivos con mayusculas en su extensión y en el index.php un par de links a esos archivos.

Si todo se ejecuta con normalidad, supongo que algún modulo o error en tu configuración de apache , está provocando el conflicto.
Mucho más no se me ocurre

SAludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.

Etiquetas: 500, mayusculas, php
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:09.