je rencontre un petit problème dans mon dévellopement actuel.
Ma réecriture d'url se présente comme suit, ayant un routeur personnalisé dans mon framework:
Code : Tout sélectionner
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
Hors, quand j'appelle http://localhost/test, au lieu d'être redirigé vers mon routeur, je suis dirigé vers test.php.
Est-ce un comportement normal ? Car même en appellant http://localhost/test/foo je tombe sur test.php.
Problème de configuration apache ?
Merci d'avance.