Ver Mensaje Individual
  #9 (permalink)  
Antiguo 03/06/2013, 03:36
edie8
 
Fecha de Ingreso: noviembre-2011
Mensajes: 516
Antigüedad: 12 años, 5 meses
Puntos: 10
Respuesta: Problemas con url amigables

si aqui esta todo mi codigo de los 3 archivos que tengo:
.htaccess:
Código PHP:
Ver original
  1. RewriteEngine On
  2.     RewriteRule ^(*)$  /perfil.php?nombre=$1
index.php
Código PHP:
Ver original
  1. <a href="uno">item uno</a>
  2. <a href="dos">item uno</a>
y luego para recojer la variable es perfil.php
Código PHP:
Ver original
  1. <?php
  2. echo $_GET['nombre'];
  3. ?>
y con este codigo al entrar a la web me sale este error:
Código error:
Ver original
  1. Internal Server Error
  2.  
  3. The server encountered an internal error or misconfiguration and was unable to complete your request.
  4.  
  5. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  6.  
  7. More information about this error may be available in the server error log.
  8.  
  9. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

No entiendo por que no funciona espero me pueda ayudar gracias amigo.