Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/02/2012, 14:33
Avatar de richardinj
richardinj
 
Fecha de Ingreso: enero-2005
Ubicación: Ciber Espacio
Mensajes: 2.180
Antigüedad: 20 años
Puntos: 11
Respuesta: Ejecutar paginas PHP sin la extensión .PHP

Gracias por la ayuda... todo esta en el .htaccess

Cita:
Options +FollowSymlinks
<ifmodule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ $1/ [L,R=301]

rewriteBase /noticias/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)/$ index.php?var1=$1&var2=$2&var3=$3 [L]
RewriteRule ^(.*)/(.*)/$ index.php?var1=$1&var2=$2 [L]
RewriteRule ^(.*)/$ index.php?var1=$1 [L]

</ifmodule>
fuente: http://www.animacionyweb.com.ar/2009...-apache-y-php/