Thank you so much for your kind words, Jonas. I am glad that you were able to follow it & get everything to work.

I was able to reproduce what you mentioned. Are you using PHP8? I ran this application on a brand new Mac with fresh Apache/PHP8 installation & I faced the same thing. To fix this, I added the below lines to my .htaccess file & I was able to access the endpoints without the PHP extension.

RewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME}\.php -fRewriteRule ^(.*)$ $1.php

Shashank Srivastava

DevOps Architect, Music/Book/Photography/Fitness lover & Blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store