# Apache (XAMPP): public/ is the only folder the browser may read.
Require all granted

# Only needed when the app runs under Apache (XAMPP htdocs) instead of "php -S".
# Sends every request that is not a real file to index.php (the front controller).
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [QSA,L]
</IfModule>
