Hola :)
Me mandaron para aqui ya que tengo el siguiente problema:
Tengo un archivo Entrevista.php
Código PHP:
Ver original<?PHP
$ganadores= !isset($ganadores) ?
0 : $ganadores; $ganadores=$_GET[ganadores];
switch ($ganadores) {
case octubre:
include("octubre.php");
break;
case noviembre:
include("noviembre.php");
break;
default:
include("entrevistas_temp.php");
}
?>
En mi archivo .htaccess tengo lo siguiente:
Código Apache:
Ver originalRewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
Rewriterule ^(.*)/(.*)/(.*)$ $1.php?$2=$3
y para llamar a los archivos hago esto:
Código HTML:
Ver original<a href="Entrevistas/ganadores/octubre">Octubre
</a>
Pero me da el siguiente error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please etc etc.......
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Espero que me puedan ayudar :)