Foros del Web » Programando para Internet » PHP »

Internal Server Error con .htaccess

Estas en el tema de Internal Server Error con .htaccess en el foro de PHP en Foros del Web. estoy intentando quitarle la extencion a mis archivos php pero cuando lo hago me da error 500 y nose por que. Código PHP: The server encountered an internal error  or  ...
  #1 (permalink)  
Antiguo 12/11/2014, 22:10
 
Fecha de Ingreso: noviembre-2012
Mensajes: 139
Antigüedad: 11 años, 5 meses
Puntos: 1
Internal Server Error con .htaccess

estoy intentando quitarle la extencion a mis archivos php pero cuando lo hago me da error 500 y nose por que.
Código PHP:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache/2.4.9 (Win64PHP/5.5.12 Server at localhost Port 80 
este es el codigo que uso en el .htaccess
Código .htaccess:
Ver original
  1. RewriteEngine On
  2. RewriteCond %{REQUEST_FILENAME} !-f
  3. RewriteRule ^([^/]+)/$ $1.php
  4. RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
  8. RewriteRule (.*)$ /$1/ [R=301,L]
ayuda porfavor
  #2 (permalink)  
Antiguo 13/11/2014, 07:36
Avatar de pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años, 1 mes
Puntos: 2534
Respuesta: Internal Server Error con .htaccess

La configuración de Apache (.htaccess) no corresponde al foro de programación PHP porque sencillamente no es programación PHP, es configuración, de Apache.

Por favor, aprende a usar el foro adecuadamente.
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.

Etiquetas: htaccess, internal, server
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 22:53.