The requested URL / slim / clients was not found on this server. " not even with the demo this error persists follow my code ...
<?php
require 'Slim/Slim.php';
\Slim\Slim::registerAutoloader();
$app = new \Slim\Slim();
$app->response()->header('Content-Type', 'application/json;charset=utf-8');
$app->get('/', function () {
echo "SlimProdutos";
});
$app->get('/hello', function (){
echo "Ola";
});
$app->run();
?>
follows .htaccess
RewriteEngine On
#RewriteBase /var/www/slim
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]