I created a hello world Slim test application with instructions here .
When I make this call, I get 404 error:
http:
On the other hand, when I make this call, it works fine when I get the message "Hello John":
http:
But of course I don't want index.php in my URLs ... What could be wrong?
======= EDIT ========
I forgot to create a .htaccess file like this (after the Slim Framework documentation and in the same directory as index.php):
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L]
Now I get this error:
/physical_path_to_my_files/index.php was not found on this server
German latorre
source share