.htaccess 237 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 # Permet de rediriger api/blabla vers api/blabla.php Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase /api/ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.+)$ $1.php [L,QSA]