--

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

DevSecOps Architect @Virtualness. Music/Book/Photography/Fitness lover & Blogger.