Htaccess File

AndresFelipe27/ProyectoFinalPHP/master/proyectoFinalphp/.htaccess

REQUEST_FILENAME
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*).(gif|jpg|png|jpeg|css|js|swf)$ /$1.$2 [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

#RewriteRule ^(.*)$ /index.php/$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !index.php

RewriteRule .* index.php [QSA,L]
Exit mobile version